Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_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_latest_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.0008831/0.0008879, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007597/0.007597, allocations: 170 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 13 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005513/0.3009, allocations: 4.704 MB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.4613, allocations: 146.7 MB / 1.207 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.463, allocations: 15.94 kB / 1.207 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4641, allocations: 158.7 kB / 1.207 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.4671, allocations: 492.5 kB / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.4698, allocations: 0.7311 MB / 1.208 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.4717, allocations: 1.342 MB / 1.209 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009709/0.4726, allocations: 0.6236 MB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.4733, allocations: 370.2 kB / 1.21 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.4739, allocations: 405.8 kB / 1.211 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.541e-05/0.4739, allocations: 24 kB / 1.211 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009533/0.4749, allocations: 367.6 kB / 1.211 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.4752, allocations: 203.1 kB / 1.211 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.4758, allocations: 498.7 kB / 1.212 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.4777, allocations: 1.584 MB / 1.213 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4778, allocations: 0 / 1.213 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4778, allocations: 0 / 1.213 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.4778, allocations: 0 / 1.213 GB, free: 6.609 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002466/0.4803, allocations: 1.272 MB / 1.214 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4803, allocations: 8.031 kB / 1.214 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.4814, allocations: 223.3 kB / 1.215 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.4825, allocations: 0.7655 MB / 1.215 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/0.4826, allocations: 70 kB / 1.215 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.4827, allocations: 96 kB / 1.216 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.4846, allocations: 1.007 MB / 1.217 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4846, allocations: 4 kB / 1.217 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/0.4847, allocations: 44 kB / 1.217 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.4847, allocations: 20 kB / 1.217 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.4866, allocations: 1.186 MB / 1.218 GB, free: 1.801 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.004499/0.4911, allocations: 2.922 MB / 1.221 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.4936, allocations: 0.9785 MB / 1.222 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.4941, allocations: 318.7 kB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.783e-05/0.4942, allocations: 28.61 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000939/0.4952, allocations: 0.5069 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.4952, allocations: 0 / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003411/0.4986, allocations: 1.241 MB / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4987, allocations: 200.4 kB / 1.224 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/0.4995, allocations: 0.6372 MB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.4996, allocations: 41.7 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5, allocations: 428.2 kB / 1.225 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.5002, allocations: 264.2 kB / 1.225 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.5004, allocations: 73.67 kB / 1.225 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5006, allocations: 382.8 kB / 1.226 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.5012, allocations: 281.8 kB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.5019, allocations: 387 kB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5032, allocations: 0.6307 MB / 1.227 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5033, allocations: 0 / 1.227 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002052/0.5053, allocations: 0.8838 MB / 1.228 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5053, allocations: 8 kB / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5054, allocations: 0 / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.506, allocations: 88.8 kB / 1.228 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.5066, allocations: 167.8 kB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.5087, allocations: 1.533 MB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.5095, allocations: 111.4 kB / 1.23 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.5096, allocations: 35.97 kB / 1.23 GB, free: 5.246 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 (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.0004956/0.5101, allocations: 276.7 kB / 1.23 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5102, allocations: 82.97 kB / 1.23 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.513, allocations: 1.113 MB / 1.231 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.513, allocations: 8 kB / 1.231 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.513, allocations: 3.938 kB / 1.231 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5131, allocations: 3.984 kB / 1.231 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.5167, allocations: 2.012 MB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5167, allocations: 0 / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.5174, allocations: 151.8 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/0.5179, allocations: 92.75 kB / 1.233 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.518, allocations: 23.98 kB / 1.233 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.52, allocations: 1.54 MB / 1.235 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.52, allocations: 3.938 kB / 1.235 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5223, allocations: 1.023 MB / 1.236 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.5228, allocations: 295.6 kB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.5229, allocations: 27.94 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/0.5236, allocations: 97.64 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.5238, allocations: 64.91 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.524, allocations: 39.97 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007165/0.5247, allocations: 463 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5247, allocations: 4 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001123/0.5259, allocations: 339.1 kB / 1.237 GB, free: 13.36 MB / 0.9981 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.001548/0.5274, allocations: 0.5996 MB / 1.238 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.5292, allocations: 0.8548 MB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5293, allocations: 0 / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.5303, allocations: 0.5431 MB / 1.239 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.5318, allocations: 277.8 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.5356, allocations: 2.205 MB / 1.241 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/0.5364, allocations: 1.046 MB / 1.242 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009247/0.5374, allocations: 274.8 kB / 1.243 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.5376, allocations: 103.4 kB / 1.243 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.5376, allocations: 0 / 1.243 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.5508/1.088, allocations: 14.82 MB / 1.257 GB, free: 188.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches