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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.595/2.595, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.6313, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007106/0.6384, allocations: 5.146 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.804, allocations: 150.7 MB / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008813/0.8049, allocations: 15.94 kB / 1.169 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.8056, allocations: 198.1 kB / 1.17 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.8074, allocations: 0.5683 MB / 1.17 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.8093, allocations: 0.8296 MB / 1.171 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.8107, allocations: 1.44 MB / 1.172 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.8116, allocations: 0.656 MB / 1.173 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.8122, allocations: 0.51 MB / 1.174 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.8128, allocations: 0.5446 MB / 1.174 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.8129, allocations: 124 kB / 1.174 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008524/0.8138, allocations: 479.6 kB / 1.175 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.8141, allocations: 311 kB / 1.175 GB, free: 456 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.8146, allocations: 0.6064 MB / 1.176 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.8164, allocations: 1.69 MB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8164, allocations: 0 / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8164, allocations: 0 / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.8164, allocations: 0 / 1.177 GB, free: 14.14 MB / 0.9356 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.002547/0.819, allocations: 1.496 MB / 1.179 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.819, allocations: 16.03 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.8201, allocations: 207.3 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/0.8211, allocations: 0.7655 MB / 1.18 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.8212, allocations: 66 kB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.8213, allocations: 88 kB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.823, allocations: 1.007 MB / 1.181 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.823, allocations: 0 / 1.181 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.8231, allocations: 44 kB / 1.181 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.8231, allocations: 20 kB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.825, allocations: 1.179 MB / 1.182 GB, free: 9.121 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.004107/0.8292, allocations: 2.886 MB / 1.185 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.8316, allocations: 0.9713 MB / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.8322, allocations: 318.6 kB / 1.186 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.803e-05/0.8323, allocations: 36.59 kB / 1.186 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008985/0.8332, allocations: 0.4952 MB / 1.187 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 4.688e-06/0.8332, allocations: 0 / 1.187 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003455/0.8367, allocations: 1.237 MB / 1.188 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.8368, allocations: 192.5 kB / 1.188 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.8376, allocations: 0.6487 MB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.8377, allocations: 41.7 kB / 1.189 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.8381, allocations: 420.3 kB / 1.189 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.8383, allocations: 264.2 kB / 1.189 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.8386, allocations: 166.5 kB / 1.189 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8387, allocations: 386.8 kB / 1.19 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.8393, allocations: 277.8 kB / 1.19 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.84, allocations: 379 kB / 1.19 GB, free: 164 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.8413, allocations: 0.6229 MB / 1.191 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.8413, allocations: 64 / 1.191 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002134/0.8434, allocations: 0.88 MB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.8435, allocations: 9.719 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8435, allocations: 3.984 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.8441, allocations: 80.88 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.8448, allocations: 167.7 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.847, allocations: 1.637 MB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/0.8478, allocations: 103.2 kB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.8479, allocations: 39.97 kB / 1.194 GB, free: 12.45 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.0004708/0.8484, allocations: 275.4 kB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.8486, allocations: 82.97 kB / 1.194 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.8511, allocations: 1.101 MB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.8511, allocations: 8 kB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8511, allocations: 0 / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.8511, allocations: 7.984 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.8546, allocations: 2.001 MB / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.8546, allocations: 0 / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.8552, allocations: 147.8 kB / 1.197 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.8557, allocations: 72.78 kB / 1.197 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.8558, allocations: 31.92 kB / 1.197 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.8578, allocations: 1.658 MB / 1.199 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8578, allocations: 3.938 kB / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.8599, allocations: 1.019 MB / 1.2 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.8604, allocations: 275.7 kB / 1.2 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.8606, allocations: 23.91 kB / 1.2 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.8613, allocations: 63.92 kB / 1.2 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.8615, allocations: 72.91 kB / 1.201 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.622e-05/0.8616, allocations: 35.97 kB / 1.201 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006295/0.8622, allocations: 471 kB / 1.201 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8622, allocations: 0 / 1.201 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009323/0.8632, allocations: 339.2 kB / 1.201 GB, free: 4.531 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.001532/0.8647, allocations: 0.598 MB / 1.202 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002714/0.8674, allocations: 1.069 MB / 1.203 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8674, allocations: 192 / 1.203 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.8685, allocations: 0.5275 MB / 1.203 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.8701, allocations: 311.7 kB / 1.204 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.8736, allocations: 1.74 MB / 1.205 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.8744, allocations: 1.043 MB / 1.206 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001034/0.8754, allocations: 270.8 kB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.8757, allocations: 107.4 kB / 1.207 GB, free: 15 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.8757, allocations: 4 kB / 1.207 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.02852/0.9043, allocations: 15.58 MB / 1.222 GB, free: 15.61 MB / 0.9825 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