Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007524/0.0007523, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.000829/0.000829, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.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.957/2.957, allocations: 390.9 MB / 0.666 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 12 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7467, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004026/0.7508, allocations: 3.714 MB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1612/0.912, allocations: 136.8 MB / 1.092 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008919/0.913, allocations: 19.88 kB / 1.092 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.9136, allocations: 127 kB / 1.092 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.9153, allocations: 421.5 kB / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.9173, allocations: 0.6323 MB / 1.093 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.9189, allocations: 1.113 MB / 1.094 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/0.9198, allocations: 488.8 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.9204, allocations: 326.5 kB / 1.095 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.9209, allocations: 354.2 kB / 1.095 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.921, allocations: 28 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/0.9219, allocations: 335.6 kB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.9221, allocations: 179.2 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.9223, allocations: 189.1 kB / 1.096 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.9235, allocations: 1.177 MB / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9236, allocations: 0 / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9236, allocations: 0 / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.9236, allocations: 0 / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00219/0.9258, allocations: 1.204 MB / 1.098 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9258, allocations: 8.031 kB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.9267, allocations: 194.5 kB / 1.098 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9278, allocations: 0.7109 MB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.9279, allocations: 66 kB / 1.099 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.928, allocations: 76 kB / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.9295, allocations: 0.9261 MB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.9296, allocations: 0 / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.9297, allocations: 35.95 kB / 1.1 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.9297, allocations: 20 kB / 1.1 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.9313, allocations: 1.116 MB / 1.101 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.9351, allocations: 2.544 MB / 1.104 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.9366, allocations: 0.8886 MB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.9371, allocations: 306.7 kB / 1.105 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.9372, allocations: 36.59 kB / 1.105 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.9382, allocations: 0.4913 MB / 1.105 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 2.755e-06/0.9382, allocations: 0 / 1.105 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.002873/0.9411, allocations: 1.19 MB / 1.106 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.9412, allocations: 196.6 kB / 1.107 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.942, allocations: 0.6174 MB / 1.107 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.942, allocations: 45.64 kB / 1.107 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.9424, allocations: 392.4 kB / 1.108 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.9426, allocations: 260.3 kB / 1.108 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.9427, allocations: 16 kB / 1.108 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.9428, allocations: 390.7 kB / 1.108 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.9434, allocations: 261.9 kB / 1.108 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.944, allocations: 363.1 kB / 1.109 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.9445, allocations: 314.9 kB / 1.109 GB, free: 368 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9445, allocations: 0 / 1.109 GB, free: 368 kB / 0.8575 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001737/0.9463, allocations: 0.8527 MB / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.9463, allocations: 4 kB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9463, allocations: 0 / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.9468, allocations: 84.88 kB / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.9475, allocations: 159.8 kB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.9496, allocations: 1.547 MB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.9503, allocations: 97.28 kB / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.9504, allocations: 39.97 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004896/0.9509, allocations: 263.4 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.951, allocations: 86.95 kB / 1.112 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.9532, allocations: 1.077 MB / 1.113 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.9532, allocations: 16 kB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.9532, allocations: 0 / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.9532, allocations: 3.984 kB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.9562, allocations: 1.95 MB / 1.115 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.9562, allocations: 4 kB / 1.115 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.9568, allocations: 143.8 kB / 1.115 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.9572, allocations: 84.78 kB / 1.115 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.9573, allocations: 23.97 kB / 1.115 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.959, allocations: 1.556 MB / 1.117 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.959, allocations: 3.953 kB / 1.117 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.961, allocations: 0.9883 MB / 1.118 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.9614, allocations: 295.6 kB / 1.118 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.9615, allocations: 24.08 kB / 1.118 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.9621, allocations: 75.94 kB / 1.118 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.9623, allocations: 80.81 kB / 1.118 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/0.9624, allocations: 31.98 kB / 1.118 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000592/0.963, allocations: 451 kB / 1.119 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.963, allocations: 0 / 1.119 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009038/0.9639, allocations: 307.2 kB / 1.119 GB, free: 5.746 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/0.9652, allocations: 0.5905 MB / 1.12 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.9668, allocations: 0.8353 MB / 1.12 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9668, allocations: 0 / 1.12 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009529/0.9678, allocations: 0.512 MB / 1.121 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.9689, allocations: 254.2 kB / 1.121 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.9728, allocations: 2.163 MB / 1.123 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.9734, allocations: 1.023 MB / 1.124 GB, free: 492 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008727/0.9743, allocations: 266.4 kB / 1.125 GB, free: 220 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.9745, allocations: 99.39 kB / 1.125 GB, free: 120 kB / 0.8731 GB Notification: Performance of SimCode: time 9.62e-07/0.9745, allocations: 0 / 1.125 GB, free: 120 kB / 0.8731 GB Notification: Performance of Templates: time 0.02489/0.9994, allocations: 13.59 MB / 1.138 GB, free: 2.68 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches