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.001475/0.001475, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002061/0.002061, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 70.34 kB / 0.8986 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006435/0.2913, allocations: 5.137 MB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.4544, allocations: 148.4 MB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.4552, allocations: 19.88 kB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.4558, allocations: 150.8 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.4574, allocations: 0.4928 MB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.4592, allocations: 0.7589 MB / 1.204 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.4605, allocations: 1.44 MB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00084/0.4614, allocations: 0.6482 MB / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.462, allocations: 0.5139 MB / 1.206 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.4626, allocations: 0.5407 MB / 1.207 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.4627, allocations: 128 kB / 1.207 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.4635, allocations: 467.6 kB / 1.207 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.4638, allocations: 315 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.4643, allocations: 0.6064 MB / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.466, allocations: 1.694 MB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.466, allocations: 4 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.466, allocations: 0 / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.4661, allocations: 0 / 1.21 GB, free: 6.766 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.002623/0.4687, allocations: 1.492 MB / 1.211 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4687, allocations: 12.61 kB / 1.211 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4698, allocations: 219.2 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4709, allocations: 0.7538 MB / 1.212 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.4709, allocations: 70 kB / 1.212 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4711, allocations: 99.98 kB / 1.212 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.4728, allocations: 1.011 MB / 1.213 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4728, allocations: 0 / 1.213 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.4729, allocations: 44 kB / 1.213 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.4729, allocations: 24 kB / 1.213 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.4748, allocations: 1.171 MB / 1.215 GB, free: 1.75 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.004261/0.4791, allocations: 2.883 MB / 1.217 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.4815, allocations: 0.9746 MB / 1.218 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/0.4821, allocations: 318.7 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.009e-05/0.4822, allocations: 28.56 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009839/0.4832, allocations: 0.5031 MB / 1.219 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.4832, allocations: 0 / 1.219 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003317/0.4865, allocations: 1.225 MB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.4866, allocations: 204.4 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.4874, allocations: 0.6449 MB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.4875, allocations: 37.7 kB / 1.221 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.4879, allocations: 420.3 kB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.4881, allocations: 268.1 kB / 1.222 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4884, allocations: 170.5 kB / 1.222 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4885, allocations: 386.8 kB / 1.222 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.4891, allocations: 281.8 kB / 1.223 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.4897, allocations: 367.1 kB / 1.223 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.4909, allocations: 0.6268 MB / 1.224 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4909, allocations: 0 / 1.224 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00199/0.4929, allocations: 0.876 MB / 1.225 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4929, allocations: 13.91 kB / 1.225 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.493, allocations: 4 kB / 1.225 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.4936, allocations: 84.77 kB / 1.225 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.4943, allocations: 163.8 kB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.4964, allocations: 1.626 MB / 1.226 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/0.4972, allocations: 107.3 kB / 1.226 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/0.4973, allocations: 43.86 kB / 1.227 GB, free: 5.082 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.0005203/0.4978, allocations: 275.6 kB / 1.227 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.498, allocations: 82.97 kB / 1.227 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.5006, allocations: 1.093 MB / 1.228 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5006, allocations: 12 kB / 1.228 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5006, allocations: 0 / 1.228 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5006, allocations: 3.984 kB / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.5041, allocations: 2.004 MB / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5041, allocations: 0 / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.5048, allocations: 151.7 kB / 1.23 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.5052, allocations: 72.78 kB / 1.23 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.5053, allocations: 27.97 kB / 1.23 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.5072, allocations: 1.662 MB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5073, allocations: 0 / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.5098, allocations: 1.027 MB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.5102, allocations: 267.7 kB / 1.233 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.5105, allocations: 23.94 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.5113, allocations: 67.92 kB / 1.233 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.5115, allocations: 76.89 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.5116, allocations: 35.98 kB / 1.233 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007172/0.5123, allocations: 467 kB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5123, allocations: 0 / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001021/0.5133, allocations: 339.1 kB / 1.234 GB, free: 13.16 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.001543/0.5149, allocations: 0.6056 MB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.5174, allocations: 1.061 MB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5175, allocations: 0 / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5185, allocations: 0.5356 MB / 1.236 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5199, allocations: 300.4 kB / 1.236 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.5232, allocations: 2.179 MB / 1.239 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.5238, allocations: 1.047 MB / 1.24 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008931/0.5247, allocations: 278.8 kB / 1.24 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.525, allocations: 103.4 kB / 1.24 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.525, allocations: 0 / 1.24 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of Templates: time 0.5484/1.073, allocations: 15.47 MB / 1.255 GB, free: 191.7 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