Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002208/0.002208, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7346, allocations: 140.3 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004865/0.7395, allocations: 4.392 MB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.198/0.9375, allocations: 148.3 MB / 1.098 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.9385, allocations: 15.94 kB / 1.098 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.9392, allocations: 138.9 kB / 1.098 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.941, allocations: 426.6 kB / 1.099 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.9431, allocations: 0.7245 MB / 1.099 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.9447, allocations: 1.234 MB / 1.1 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.9457, allocations: 0.6777 MB / 1.101 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007689/0.9465, allocations: 434.2 kB / 1.102 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.9473, allocations: 497.6 kB / 1.102 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.9476, allocations: 72 kB / 1.102 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.9486, allocations: 415.6 kB / 1.102 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.949, allocations: 247 kB / 1.103 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.9496, allocations: 0.5282 MB / 1.103 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.9515, allocations: 1.597 MB / 1.105 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9515, allocations: 0 / 1.105 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9515, allocations: 0 / 1.105 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.401e-05/0.9516, allocations: 3.938 kB / 1.105 GB, free: 1.859 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0032/0.9548, allocations: 1.473 MB / 1.106 GB, free: 348 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.9548, allocations: 8.031 kB / 1.106 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.9561, allocations: 207.3 kB / 1.106 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.9574, allocations: 0.7694 MB / 1.107 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.9575, allocations: 66 kB / 1.107 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.9576, allocations: 96 kB / 1.107 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.9596, allocations: 1.007 MB / 1.108 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.9597, allocations: 0 / 1.108 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.9598, allocations: 40 kB / 1.108 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.9598, allocations: 23.94 kB / 1.108 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.9619, allocations: 1.175 MB / 1.11 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004597/0.9665, allocations: 2.624 MB / 1.112 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.969, allocations: 0.9723 MB / 1.113 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.9696, allocations: 318.7 kB / 1.113 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.9697, allocations: 24.61 kB / 1.113 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.9708, allocations: 0.5029 MB / 1.114 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.796e-06/0.9708, allocations: 0 / 1.114 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003317/0.9741, allocations: 1.221 MB / 1.115 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.9742, allocations: 196.5 kB / 1.115 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.9751, allocations: 0.6333 MB / 1.116 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.9752, allocations: 45.7 kB / 1.116 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.9755, allocations: 424.2 kB / 1.116 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.9757, allocations: 264.2 kB / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.976, allocations: 166.4 kB / 1.117 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9762, allocations: 390.7 kB / 1.117 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.9767, allocations: 281.8 kB / 1.117 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.9774, allocations: 363.1 kB / 1.118 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.9787, allocations: 0.619 MB / 1.118 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9787, allocations: 4 kB / 1.118 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002129/0.9808, allocations: 0.8721 MB / 1.119 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.9809, allocations: 11.98 kB / 1.119 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.9809, allocations: 3.938 kB / 1.119 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.9815, allocations: 76.88 kB / 1.119 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.9823, allocations: 167.8 kB / 1.119 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.9844, allocations: 1.52 MB / 1.121 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.9852, allocations: 93.34 kB / 1.121 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.9853, allocations: 39.97 kB / 1.121 GB, free: 0.6953 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 (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 (96): * Single equations (assignments): 95 * 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.0005014/0.9858, allocations: 271.4 kB / 1.121 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.9861, allocations: 86.97 kB / 1.121 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.9888, allocations: 1.097 MB / 1.122 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.9888, allocations: 8 kB / 1.122 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.9888, allocations: 3.938 kB / 1.122 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.9889, allocations: 7.984 kB / 1.122 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.9929, allocations: 2.02 MB / 1.124 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9929, allocations: 0 / 1.124 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.9936, allocations: 147.8 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.9941, allocations: 84.77 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.9942, allocations: 23.98 kB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.9961, allocations: 1.548 MB / 1.126 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.9961, allocations: 12.05 kB / 1.126 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.9983, allocations: 1.023 MB / 1.127 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.9987, allocations: 275.6 kB / 1.127 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.9989, allocations: 23.98 kB / 1.127 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.9996, allocations: 63.94 kB / 1.128 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.9997, allocations: 72.89 kB / 1.128 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.9998, allocations: 39.97 kB / 1.128 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005898/1, allocations: 463 kB / 1.128 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1, allocations: 0 / 1.128 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009064/1.001, allocations: 323.2 kB / 1.128 GB, free: 8.875 MB / 0.8887 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 (94): * Single equations (assignments): 88 * 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.001447/1.003, allocations: 0.6015 MB / 1.129 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.005, allocations: 0.8506 MB / 1.13 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.005, allocations: 8.188 kB / 1.13 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.006, allocations: 0.5236 MB / 1.13 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.007, allocations: 269.4 kB / 1.131 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/1.012, allocations: 2.274 MB / 1.133 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/1.012, allocations: 1.047 MB / 1.134 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001043/1.013, allocations: 266.8 kB / 1.134 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/1.014, allocations: 115.3 kB / 1.134 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of SimCode: time 5.82e-07/1.014, allocations: 0 / 1.134 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of Templates: time 0.02796/1.042, allocations: 14.52 MB / 1.148 GB, free: 4.664 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches