Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.905/2.905, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.555e-05, allocations: 3.188 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007778/0.007803, allocations: 4.644 MB / 0.7909 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2139/0.2217, allocations: 146.3 MB / 0.9337 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009704/0.2227, allocations: 19.88 kB / 0.9337 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.2234, allocations: 206.1 kB / 0.9339 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.2256, allocations: 0.5708 MB / 0.9345 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2279, allocations: 0.8685 MB / 0.9353 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.23, allocations: 1.475 MB / 0.9368 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.2308, allocations: 397.8 kB / 0.9371 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.232, allocations: 0.7407 MB / 0.9379 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.2327, allocations: 410.8 kB / 0.9383 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.2329, allocations: 128 kB / 0.9384 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.234, allocations: 0.4916 MB / 0.9389 GB, free: 124 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.2344, allocations: 322.9 kB / 0.9392 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.2349, allocations: 395 kB / 0.9395 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.2375, allocations: 1.826 MB / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2375, allocations: 0 / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2375, allocations: 0 / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.2375, allocations: 0 / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003051/0.2406, allocations: 1.613 MB / 0.9429 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2406, allocations: 8.031 kB / 0.9429 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.2425, allocations: 347.5 kB / 0.9432 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.244, allocations: 0.7404 MB / 0.944 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/0.2441, allocations: 74.11 kB / 0.944 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.2443, allocations: 88 kB / 0.9441 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.2463, allocations: 1.231 MB / 0.9453 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.2463, allocations: 4 kB / 0.9453 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2464, allocations: 32 kB / 0.9454 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.2464, allocations: 27.98 kB / 0.9454 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.2484, allocations: 1.018 MB / 0.9464 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.254, allocations: 3.125 MB / 0.9494 GB, free: 5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.2557, allocations: 0.7451 MB / 0.9502 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.2563, allocations: 284.5 kB / 0.9504 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.2563, allocations: 32.62 kB / 0.9505 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.2575, allocations: 0.6236 MB / 0.9511 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 3.066e-06/0.2576, allocations: 0 / 0.9511 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.003374/0.2609, allocations: 1.097 MB / 0.9521 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.2611, allocations: 200.9 kB / 0.9523 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2622, allocations: 0.7534 MB / 0.9531 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.2623, allocations: 49.7 kB / 0.9531 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.2628, allocations: 487.9 kB / 0.9536 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.2631, allocations: 309.6 kB / 0.9539 GB, free: 320 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.2635, allocations: 220.2 kB / 0.9541 GB, free: 92 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004319/0.2639, allocations: 0.6172 MB / 0.9547 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.2645, allocations: 241.9 kB / 0.9549 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.2653, allocations: 0.5096 MB / 0.9554 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2665, allocations: 0.5928 MB / 0.956 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2665, allocations: 0 / 0.956 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002265/0.2688, allocations: 0.8754 MB / 0.9569 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2688, allocations: 8 kB / 0.9569 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2688, allocations: 0 / 0.9569 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.2698, allocations: 139.7 kB / 0.957 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.2706, allocations: 183.7 kB / 0.9572 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.2734, allocations: 2.042 MB / 0.9592 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.274, allocations: 79.55 kB / 0.9592 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.2741, allocations: 39.97 kB / 0.9593 GB, free: 10.55 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004728/0.2746, allocations: 283.1 kB / 0.9595 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.2748, allocations: 115.5 kB / 0.9597 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.2774, allocations: 1.025 MB / 0.9607 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.2774, allocations: 11.98 kB / 0.9607 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.2774, allocations: 0 / 0.9607 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2774, allocations: 7.984 kB / 0.9607 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/0.2815, allocations: 2.048 MB / 0.9627 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2815, allocations: 3.984 kB / 0.9627 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.2821, allocations: 143.8 kB / 0.9628 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008143/0.2829, allocations: 127.6 kB / 0.9629 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.283, allocations: 27.92 kB / 0.963 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.2856, allocations: 2.066 MB / 0.965 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.2856, allocations: 4 kB / 0.965 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.2879, allocations: 1.076 MB / 0.966 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.2883, allocations: 195.2 kB / 0.9662 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.2885, allocations: 23.98 kB / 0.9662 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.289, allocations: 44.11 kB / 0.9663 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.2892, allocations: 88.77 kB / 0.9664 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.2893, allocations: 31.98 kB / 0.9664 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006879/0.29, allocations: 491 kB / 0.9669 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.29, allocations: 0 / 0.9669 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000971/0.2909, allocations: 343.1 kB / 0.9672 GB, free: 2.195 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003431/0.2944, allocations: 0.6597 MB / 0.9678 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.2963, allocations: 0.8946 MB / 0.9687 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2963, allocations: 0 / 0.9687 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2973, allocations: 0.583 MB / 0.9693 GB, free: 220 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.2987, allocations: 322 kB / 0.9696 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.302, allocations: 1.643 MB / 0.9712 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.3025, allocations: 438.6 kB / 0.9716 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008824/0.3034, allocations: 254.6 kB / 0.9719 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.3037, allocations: 116.4 kB / 0.972 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/0.3037, allocations: 0 / 0.972 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of Templates: time 0.03163/0.3353, allocations: 15.84 MB / 0.9874 GB, free: 13.84 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.792375295073725]