Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 188.8 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.256/3.256, allocations: 495.7 MB / 0.7831 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003543/0.003543, allocations: 64.81 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4094, allocations: 173.6 MB / 1.307 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006928/0.4164, allocations: 4.987 MB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.603, allocations: 151.2 MB / 1.459 GB, free: 5.152 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.6039, allocations: 23.81 kB / 1.46 GB, free: 5.129 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.6046, allocations: 198.2 kB / 1.46 GB, free: 4.934 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.6064, allocations: 0.5544 MB / 1.46 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.6084, allocations: 0.8705 MB / 1.461 GB, free: 3.516 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.61, allocations: 1.432 MB / 1.463 GB, free: 2.078 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007247/0.6107, allocations: 425.8 kB / 1.463 GB, free: 1.633 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007576/0.6114, allocations: 0.5101 MB / 1.463 GB, free: 1.121 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.6121, allocations: 0.5173 MB / 1.464 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.6123, allocations: 123.9 kB / 1.464 GB, free: 492 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009535/0.6132, allocations: 487.6 kB / 1.464 GB, free: 4 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.6135, allocations: 315 kB / 1.465 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.6141, allocations: 0.5752 MB / 1.465 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.6165, allocations: 1.669 MB / 1.467 GB, free: 13.44 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.6165, allocations: 0 / 1.467 GB, free: 13.44 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6165, allocations: 0 / 1.467 GB, free: 13.44 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.618e-05/0.6165, allocations: 0 / 1.467 GB, free: 13.44 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003275/0.6198, allocations: 1.421 MB / 1.468 GB, free: 11.99 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6198, allocations: 8.031 kB / 1.468 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009607/0.6208, allocations: 196.1 kB / 1.469 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6221, allocations: 0.7104 MB / 1.469 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.6221, allocations: 65.98 kB / 1.469 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6223, allocations: 80 kB / 1.469 GB, free: 10.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.624, allocations: 0.9456 MB / 1.47 GB, free: 9.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.624, allocations: 11.86 kB / 1.47 GB, free: 9.91 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.6241, allocations: 40 kB / 1.47 GB, free: 9.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.6241, allocations: 24 kB / 1.47 GB, free: 9.848 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.626, allocations: 1.124 MB / 1.471 GB, free: 8.723 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.6303, allocations: 2.721 MB / 1.474 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.632, allocations: 0.782 MB / 1.475 GB, free: 5.078 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.6326, allocations: 290.7 kB / 1.475 GB, free: 4.793 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.6326, allocations: 28.67 kB / 1.475 GB, free: 4.766 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009849/0.6336, allocations: 0.5162 MB / 1.476 GB, free: 4.23 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.6336, allocations: 0 / 1.476 GB, free: 4.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003467/0.6371, allocations: 1.18 MB / 1.477 GB, free: 3.039 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.6372, allocations: 200.8 kB / 1.477 GB, free: 2.801 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.6381, allocations: 0.641 MB / 1.478 GB, free: 2.148 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.6382, allocations: 41.7 kB / 1.478 GB, free: 2.102 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.6385, allocations: 413.1 kB / 1.478 GB, free: 1.691 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.6388, allocations: 285.6 kB / 1.478 GB, free: 1.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.6391, allocations: 170.6 kB / 1.479 GB, free: 1.238 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.6393, allocations: 386.8 kB / 1.479 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/0.6399, allocations: 277.8 kB / 1.479 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.6406, allocations: 375.1 kB / 1.48 GB, free: 204 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.6418, allocations: 0.6242 MB / 1.48 GB, free: 15.56 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6418, allocations: 3.938 kB / 1.48 GB, free: 15.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002194/0.644, allocations: 0.8882 MB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6441, allocations: 4 kB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6441, allocations: 3.938 kB / 1.481 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.6447, allocations: 84.8 kB / 1.481 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.6454, allocations: 167.8 kB / 1.481 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.6479, allocations: 1.52 MB / 1.483 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.6488, allocations: 99.48 kB / 1.483 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.6489, allocations: 35.97 kB / 1.483 GB, free: 12.63 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0005715/0.6495, allocations: 275.6 kB / 1.483 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.6497, allocations: 87.44 kB / 1.483 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.6524, allocations: 1.132 MB / 1.484 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.6524, allocations: 15.94 kB / 1.484 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6524, allocations: 3.938 kB / 1.484 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6524, allocations: 3.984 kB / 1.484 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.6562, allocations: 1.985 MB / 1.486 GB, free: 9.059 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6562, allocations: 0 / 1.486 GB, free: 9.059 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.6568, allocations: 155.8 kB / 1.486 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.6573, allocations: 76.77 kB / 1.487 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.6573, allocations: 23.98 kB / 1.487 GB, free: 8.805 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.6594, allocations: 1.554 MB / 1.488 GB, free: 7.129 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6594, allocations: 0 / 1.488 GB, free: 7.129 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.6617, allocations: 1.053 MB / 1.489 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.6622, allocations: 207.1 kB / 1.489 GB, free: 5.855 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6624, allocations: 19.95 kB / 1.489 GB, free: 5.836 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.6631, allocations: 74.52 kB / 1.489 GB, free: 5.766 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.6633, allocations: 88.84 kB / 1.489 GB, free: 5.676 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/0.6634, allocations: 35.97 kB / 1.49 GB, free: 5.641 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006799/0.6641, allocations: 463 kB / 1.49 GB, free: 5.195 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6641, allocations: 0 / 1.49 GB, free: 5.195 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009719/0.665, allocations: 339.1 kB / 1.49 GB, free: 4.863 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001988/0.667, allocations: 0.6097 MB / 1.491 GB, free: 4.426 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.669, allocations: 0.8313 MB / 1.492 GB, free: 3.586 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.669, allocations: 0 / 1.492 GB, free: 3.586 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.67, allocations: 0.5119 MB / 1.492 GB, free: 3.062 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.6713, allocations: 314.7 kB / 1.492 GB, free: 2.781 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.6746, allocations: 1.719 MB / 1.494 GB, free: 1.023 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.6753, allocations: 1.032 MB / 1.495 GB, free: 15.96 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008811/0.6762, allocations: 266.8 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.6765, allocations: 107.4 kB / 1.496 GB, free: 15.59 MB / 1.201 GB Notification: Performance of SimCode: time 6.61e-07/0.6765, allocations: 0 / 1.496 GB, free: 15.59 MB / 1.201 GB Notification: Performance of Templates: time 0.03126/0.7078, allocations: 16.33 MB / 1.511 GB, free: 15.41 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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: 10.14266275987029]