Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001508/0.001508, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001782/0.001782, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.08 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6505/0.6518, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006697/0.6586, allocations: 5.146 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.8168, allocations: 148.4 MB / 1.167 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.8177, allocations: 15.94 kB / 1.167 GB, free: 8.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.8182, allocations: 162.7 kB / 1.167 GB, free: 8.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.8199, allocations: 0.501 MB / 1.167 GB, free: 8.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.8217, allocations: 0.7477 MB / 1.168 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.8231, allocations: 1.444 MB / 1.17 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.824, allocations: 0.656 MB / 1.17 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.8247, allocations: 0.51 MB / 1.171 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.8253, allocations: 0.5485 MB / 1.171 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.8255, allocations: 124 kB / 1.171 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.8263, allocations: 467.6 kB / 1.172 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.8266, allocations: 323 kB / 1.172 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.827, allocations: 0.6025 MB / 1.173 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.8286, allocations: 1.698 MB / 1.174 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8286, allocations: 0 / 1.174 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8286, allocations: 0 / 1.174 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.8286, allocations: 0 / 1.174 GB, free: 0.8984 MB / 0.92 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.002481/0.8311, allocations: 1.49 MB / 1.176 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8312, allocations: 8.031 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.8323, allocations: 219.3 kB / 1.176 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.8333, allocations: 0.7538 MB / 1.177 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.8334, allocations: 78 kB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.8335, allocations: 88 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.8352, allocations: 1.011 MB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.8353, allocations: 0 / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.8354, allocations: 43.98 kB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.8354, allocations: 24 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.8373, allocations: 1.171 MB / 1.179 GB, free: 11.89 MB / 0.9356 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.004373/0.8417, allocations: 2.888 MB / 1.182 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.8441, allocations: 0.9748 MB / 1.183 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.8447, allocations: 314.7 kB / 1.183 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/0.8448, allocations: 36.59 kB / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.8458, allocations: 0.4952 MB / 1.184 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.8458, allocations: 4 kB / 1.184 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003274/0.8491, allocations: 1.221 MB / 1.185 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.8492, allocations: 200.5 kB / 1.185 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.85, allocations: 0.6448 MB / 1.186 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.8501, allocations: 45.64 kB / 1.186 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.8506, allocations: 424.2 kB / 1.186 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.8508, allocations: 264.2 kB / 1.186 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.8511, allocations: 166.5 kB / 1.187 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.8513, allocations: 386.8 kB / 1.187 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.8519, allocations: 277.8 kB / 1.187 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.8526, allocations: 379.1 kB / 1.188 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8537, allocations: 0.619 MB / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8538, allocations: 0 / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002001/0.8558, allocations: 0.876 MB / 1.189 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8558, allocations: 12.09 kB / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8558, allocations: 3.984 kB / 1.189 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.8564, allocations: 76.78 kB / 1.189 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.8571, allocations: 171.8 kB / 1.189 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.8593, allocations: 1.644 MB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/0.8602, allocations: 108.6 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.8603, allocations: 39.97 kB / 1.191 GB, free: 15.21 MB / 0.9512 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.0004824/0.8608, allocations: 268.5 kB / 1.191 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.8609, allocations: 82.97 kB / 1.191 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.8635, allocations: 1.097 MB / 1.192 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.8635, allocations: 16 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8635, allocations: 0 / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.8635, allocations: 7.969 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.8668, allocations: 1.993 MB / 1.194 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8668, allocations: 0 / 1.194 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.8675, allocations: 155.8 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.8679, allocations: 68.8 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.868, allocations: 31.97 kB / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.8699, allocations: 1.658 MB / 1.196 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.87, allocations: 4 kB / 1.196 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.8721, allocations: 1.019 MB / 1.197 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.8725, allocations: 275.7 kB / 1.198 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.8727, allocations: 19.91 kB / 1.198 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.8734, allocations: 67.92 kB / 1.198 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.8736, allocations: 72.91 kB / 1.198 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.8737, allocations: 39.97 kB / 1.198 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006151/0.8743, allocations: 474.9 kB / 1.198 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8743, allocations: 0 / 1.198 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001025/0.8753, allocations: 335.2 kB / 1.198 GB, free: 7.293 MB / 0.9512 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/0.8768, allocations: 0.6 MB / 1.199 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.8794, allocations: 1.065 MB / 1.2 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.8794, allocations: 192 / 1.2 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.8803, allocations: 0.5314 MB / 1.201 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.8818, allocations: 311.5 kB / 1.201 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.8849, allocations: 2.176 MB / 1.203 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.8855, allocations: 1.043 MB / 1.204 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008938/0.8864, allocations: 278.7 kB / 1.204 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.8867, allocations: 107.4 kB / 1.204 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.8867, allocations: 4 kB / 1.204 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of Templates: time 0.02524/0.9119, allocations: 15.46 MB / 1.22 GB, free: 2.031 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches