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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001289/0.001289, allocations: 100.1 kB / 15.88 MB, free: 12 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.001418/0.001418, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.636/2.636, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 61.48 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3436, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007468/0.3511, allocations: 5.136 MB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.5123, allocations: 148.3 MB / 1.203 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5134, allocations: 19.88 kB / 1.203 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.5143, allocations: 154.8 kB / 1.203 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.5165, allocations: 492.6 kB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.5186, allocations: 0.7398 MB / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.5204, allocations: 1.343 MB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.5216, allocations: 0.6314 MB / 1.206 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.5225, allocations: 462.2 kB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.5233, allocations: 0.5072 MB / 1.207 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.5236, allocations: 64 kB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.5247, allocations: 407.6 kB / 1.207 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.525, allocations: 259 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.5257, allocations: 0.5517 MB / 1.208 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.5273, allocations: 1.271 MB / 1.209 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5273, allocations: 0 / 1.209 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5273, allocations: 8 kB / 1.209 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.605e-05/0.5274, allocations: 0 / 1.209 GB, free: 7.383 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.003424/0.5308, allocations: 1.488 MB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5309, allocations: 15.97 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.5321, allocations: 215.2 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5335, allocations: 0.7694 MB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.5335, allocations: 66 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.5337, allocations: 96 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5357, allocations: 1.003 MB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.5358, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5359, allocations: 40 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.5359, allocations: 24 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.5379, allocations: 1.175 MB / 1.214 GB, free: 2.371 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.004898/0.5428, allocations: 2.879 MB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.5453, allocations: 0.9785 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/0.5459, allocations: 318.7 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.811e-05/0.546, allocations: 24.61 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.547, allocations: 0.503 MB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.5471, allocations: 3.938 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003414/0.5505, allocations: 1.225 MB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5506, allocations: 200.3 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009721/0.5516, allocations: 0.6371 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.5517, allocations: 45.7 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.5521, allocations: 424.3 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.5524, allocations: 268.1 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.5527, allocations: 166.5 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5529, allocations: 386.8 kB / 1.222 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.5535, allocations: 277.8 kB / 1.222 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.5542, allocations: 371.1 kB / 1.223 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5554, allocations: 0.6307 MB / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5554, allocations: 0 / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002201/0.5576, allocations: 0.8721 MB / 1.224 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.5577, allocations: 4 kB / 1.224 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5577, allocations: 4 kB / 1.224 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.5583, allocations: 88.8 kB / 1.224 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.5591, allocations: 163.8 kB / 1.224 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.5612, allocations: 1.516 MB / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.5621, allocations: 104.2 kB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.5622, allocations: 39.97 kB / 1.226 GB, free: 5.836 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.0005161/0.5627, allocations: 279.3 kB / 1.226 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.5629, allocations: 82.97 kB / 1.226 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.5655, allocations: 1.093 MB / 1.227 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5655, allocations: 8 kB / 1.227 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5655, allocations: 3.938 kB / 1.227 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5655, allocations: 3.984 kB / 1.227 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.5691, allocations: 2.004 MB / 1.229 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5691, allocations: 0 / 1.229 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.5697, allocations: 147.8 kB / 1.229 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/0.5703, allocations: 88.75 kB / 1.229 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.5704, allocations: 35.92 kB / 1.23 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.5722, allocations: 1.536 MB / 1.231 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5723, allocations: 3.938 kB / 1.231 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.5744, allocations: 1.016 MB / 1.232 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.5749, allocations: 279.7 kB / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.5751, allocations: 27.83 kB / 1.232 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.5759, allocations: 65.5 kB / 1.232 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.576, allocations: 72.83 kB / 1.232 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.5761, allocations: 43.97 kB / 1.232 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006291/0.5768, allocations: 467 kB / 1.233 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5768, allocations: 0 / 1.233 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009495/0.5777, allocations: 335.2 kB / 1.233 GB, free: 14.02 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.001479/0.5792, allocations: 0.6128 MB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.5811, allocations: 0.8506 MB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5811, allocations: 0 / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.5821, allocations: 0.5278 MB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.5835, allocations: 280.5 kB / 1.235 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.5871, allocations: 2.217 MB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.5878, allocations: 1.039 MB / 1.239 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.5882, allocations: 115.4 kB / 1.239 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.5882, allocations: 4 kB / 1.239 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.5621/1.15, allocations: 19.31 MB / 1.258 GB, free: 186.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/jenkins1/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