Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 108.5 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.53 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003118/0.3506, allocations: 1.608 MB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.3515, allocations: 0.5454 MB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.3516, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.3517, allocations: 7.938 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.352, allocations: 39.64 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.3521, allocations: 43.89 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3523, allocations: 107.6 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3524, allocations: 19.98 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3525, allocations: 47.84 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3526, allocations: 55.75 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3527, allocations: 12 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.3527, allocations: 8 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.3527, allocations: 15.97 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.3528, allocations: 43.8 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.353, allocations: 103.5 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.353, allocations: 0 / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.353, allocations: 4 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.353, allocations: 0 / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007296/0.3537, allocations: 395.1 kB / 0.9541 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3538, allocations: 16.02 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.3538, allocations: 8.844 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.354, allocations: 176.2 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.354, allocations: 12.38 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3541, allocations: 4.375 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3542, allocations: 89.89 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3543, allocations: 3.984 kB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3543, allocations: 8 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3543, allocations: 3.984 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3544, allocations: 51.91 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.355, allocations: 336.7 kB / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3552, allocations: 106.7 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.3553, allocations: 40.84 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3554, allocations: 4 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.3556, allocations: 99.28 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3556, allocations: 7.938 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003442/0.356, allocations: 141.5 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.356, allocations: 55.41 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3561, allocations: 126.6 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3562, allocations: 25.7 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.3562, allocations: 100.4 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3563, allocations: 31.55 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3563, allocations: 29.64 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3565, allocations: 322.8 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.3565, allocations: 31.98 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.3566, allocations: 43.61 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3567, allocations: 64.84 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3567, allocations: 0 / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001771/0.3569, allocations: 105.6 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3569, allocations: 4 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3569, allocations: 0 / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.357, allocations: 4 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3571, allocations: 19.92 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3571, allocations: 4 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3572, allocations: 19.92 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3572, allocations: 0 / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3573, allocations: 119.8 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.3574, allocations: 3.906 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.3576, allocations: 157.9 kB / 0.9564 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3576, allocations: 0 / 0.9564 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3577, allocations: 4 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3577, allocations: 3.938 kB / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3579, allocations: 221.4 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3579, allocations: 0 / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.3579, allocations: 15.98 kB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.358, allocations: 4 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.358, allocations: 0 / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.358, allocations: 3.984 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.358, allocations: 0 / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3582, allocations: 172.8 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.3583, allocations: 93 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3583, allocations: 4 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.3584, allocations: 4 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3585, allocations: 15.97 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3585, allocations: 7.938 kB / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.554e-05/0.3586, allocations: 107.2 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3586, allocations: 0 / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002051/0.3588, allocations: 28 kB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001643/0.359, allocations: 99.25 kB / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3592, allocations: 87.89 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3592, allocations: 0 / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.3593, allocations: 51.92 kB / 0.9572 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.3595, allocations: 5.5 kB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.36, allocations: 214.5 kB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3603, allocations: 0.7002 MB / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.309e-05/0.3604, allocations: 12.55 kB / 0.9581 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.3604, allocations: 15.42 kB / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.3604, allocations: 4 kB / 0.9582 GB, free: 416 kB / 0.7325 GB Notification: Performance of Templates: time 0.003632/0.3641, allocations: 1.073 MB / 0.9592 GB, free: 15.34 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches