Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00548/0.00548, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00116/0.001161, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.67 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3556, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007349/0.363, allocations: 4.786 MB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.5359, allocations: 148.3 MB / 1.202 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.5373, allocations: 19.88 kB / 1.202 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5383, allocations: 146.9 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.5409, allocations: 464.8 kB / 1.203 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.5432, allocations: 0.724 MB / 1.204 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.5452, allocations: 1.269 MB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009746/0.5462, allocations: 0.5517 MB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.5469, allocations: 414.3 kB / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.5475, allocations: 461.9 kB / 1.206 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.5476, allocations: 59.94 kB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.5486, allocations: 403.6 kB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.5488, allocations: 235 kB / 1.207 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.5494, allocations: 497.2 kB / 1.207 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.5507, allocations: 1.185 MB / 1.208 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5508, allocations: 0 / 1.208 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5508, allocations: 4 kB / 1.208 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.5508, allocations: 0 / 1.208 GB, free: 8.215 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002747/0.5535, allocations: 1.407 MB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5536, allocations: 16.03 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.5546, allocations: 179.4 kB / 1.21 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.5557, allocations: 0.7383 MB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.5558, allocations: 62 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5559, allocations: 84 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5574, allocations: 0.9028 MB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5574, allocations: 0 / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.5575, allocations: 40 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5575, allocations: 20 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5593, allocations: 1.1 MB / 1.213 GB, free: 3.543 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.5634, allocations: 2.665 MB / 1.215 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.565, allocations: 0.8666 MB / 1.216 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.5655, allocations: 302.7 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.217e-05/0.5656, allocations: 32.56 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000877/0.5665, allocations: 499 kB / 1.217 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.455e-06/0.5665, allocations: 0 / 1.217 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003212/0.5697, allocations: 1.182 MB / 1.218 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.5699, allocations: 192.6 kB / 1.218 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008777/0.5707, allocations: 0.6252 MB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.5708, allocations: 41.7 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.5712, allocations: 384.5 kB / 1.219 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.5714, allocations: 256.3 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.5716, allocations: 166.5 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5718, allocations: 386.7 kB / 1.22 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.5723, allocations: 265.8 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.573, allocations: 355.1 kB / 1.221 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5741, allocations: 0.5955 MB / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5741, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001954/0.576, allocations: 0.8487 MB / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5761, allocations: 4 kB / 1.222 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5761, allocations: 96 / 1.222 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.5767, allocations: 84.77 kB / 1.222 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.5774, allocations: 159.8 kB / 1.222 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.5795, allocations: 1.528 MB / 1.224 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.5803, allocations: 95.39 kB / 1.224 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.5804, allocations: 39.97 kB / 1.224 GB, free: 7.582 MB / 0.9825 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 (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,$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 (93): * Single equations (assignments): 92 * 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.0005054/0.5809, allocations: 259.4 kB / 1.224 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.5811, allocations: 83 kB / 1.224 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.5835, allocations: 1.058 MB / 1.225 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5835, allocations: 8 kB / 1.225 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5835, allocations: 0 / 1.225 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.5835, allocations: 7.984 kB / 1.225 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.5867, allocations: 1.899 MB / 1.227 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5867, allocations: 0 / 1.227 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.5873, allocations: 147.8 kB / 1.227 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.5878, allocations: 88.64 kB / 1.228 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.5879, allocations: 23.98 kB / 1.228 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5898, allocations: 1.54 MB / 1.229 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5898, allocations: 0 / 1.229 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5918, allocations: 0.9882 MB / 1.23 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.5923, allocations: 267.7 kB / 1.23 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5924, allocations: 19.98 kB / 1.23 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.5931, allocations: 59.94 kB / 1.23 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.5932, allocations: 72.97 kB / 1.23 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/0.5933, allocations: 39.98 kB / 1.231 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006154/0.5939, allocations: 455 kB / 1.231 GB, free: 344 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5939, allocations: 0 / 1.231 GB, free: 344 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009939/0.5949, allocations: 323.2 kB / 1.231 GB, free: 20 kB / 0.9825 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 (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.001503/0.5964, allocations: 0.5993 MB / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.5982, allocations: 0.8156 MB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5982, allocations: 4 kB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000896/0.5991, allocations: 0.5083 MB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6004, allocations: 268.6 kB / 1.233 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.6036, allocations: 2.064 MB / 1.235 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.6042, allocations: 1.016 MB / 1.236 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.6046, allocations: 111.4 kB / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.6046, allocations: 0 / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.5863/1.191, allocations: 18.19 MB / 1.254 GB, free: 191.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches