Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00742/0.00742, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001772/0.001772, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 58.66 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2629, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005801/0.2687, allocations: 4.382 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.42, allocations: 150.6 MB / 1.239 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008731/0.421, allocations: 19.88 kB / 1.239 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.4218, allocations: 178.4 kB / 1.239 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.4239, allocations: 0.5035 MB / 1.239 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.4261, allocations: 0.8492 MB / 1.24 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.4278, allocations: 1.32 MB / 1.242 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.4289, allocations: 0.6912 MB / 1.242 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.4298, allocations: 0.5021 MB / 1.243 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.4305, allocations: 0.5251 MB / 1.243 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.4308, allocations: 124 kB / 1.243 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.4318, allocations: 499.6 kB / 1.244 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.4321, allocations: 315 kB / 1.244 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007104/0.4329, allocations: 0.5751 MB / 1.245 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.4351, allocations: 1.695 MB / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4351, allocations: 0 / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.861e-06/0.4351, allocations: 0 / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.617e-05/0.4352, allocations: 7.938 kB / 1.246 GB, free: 14.64 MB / 1.014 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.003161/0.4383, allocations: 1.481 MB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4384, allocations: 8.031 kB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.4386, allocations: 152.1 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.4398, allocations: 215.3 kB / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.4411, allocations: 0.7809 MB / 1.249 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.188e-05/0.4412, allocations: 70 kB / 1.249 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.4413, allocations: 92 kB / 1.249 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.443, allocations: 1.003 MB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.4431, allocations: 3.938 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/0.4432, allocations: 40 kB / 1.25 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.4432, allocations: 20 kB / 1.25 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.4452, allocations: 1.179 MB / 1.251 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.4496, allocations: 2.596 MB / 1.254 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.4519, allocations: 0.9706 MB / 1.255 GB, free: 5.824 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.4525, allocations: 314.7 kB / 1.255 GB, free: 5.512 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.4526, allocations: 32.61 kB / 1.255 GB, free: 5.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008552/0.4534, allocations: 0.4951 MB / 1.256 GB, free: 4.965 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.4534, allocations: 0 / 1.256 GB, free: 4.965 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003054/0.4565, allocations: 1.225 MB / 1.257 GB, free: 3.715 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.4566, allocations: 188.6 kB / 1.257 GB, free: 3.488 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007967/0.4574, allocations: 0.641 MB / 1.258 GB, free: 2.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.4575, allocations: 45.64 kB / 1.258 GB, free: 2.789 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.4578, allocations: 428.2 kB / 1.258 GB, free: 2.363 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.458, allocations: 268.2 kB / 1.258 GB, free: 2.098 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.4583, allocations: 138.6 kB / 1.258 GB, free: 1.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4584, allocations: 390.7 kB / 1.259 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.459, allocations: 257.9 kB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.4596, allocations: 362.5 kB / 1.259 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4607, allocations: 0.5955 MB / 1.26 GB, free: 328 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4607, allocations: 4 kB / 1.26 GB, free: 324 kB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.5325/0.9932, allocations: 0.8197 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.9933, allocations: 5.75 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.9933, allocations: 1.516 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.9939, allocations: 80.3 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.9946, allocations: 156.5 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.9963, allocations: 1.634 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.997, allocations: 91.89 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.9971, allocations: 29.2 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0004099/0.9975, allocations: 279.5 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.9976, allocations: 84.55 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/1, allocations: 1.096 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1, allocations: 9.562 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1, allocations: 0.6562 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1, allocations: 9.516 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/1.004, allocations: 2.017 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.004, allocations: 0 / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/1.004, allocations: 152.9 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/1.005, allocations: 76.58 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/1.005, allocations: 26.17 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/1.006, allocations: 1.664 MB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.006, allocations: 1.062 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.008, allocations: 1.024 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/1.009, allocations: 278.3 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.009, allocations: 21.86 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/1.01, allocations: 62.97 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.01, allocations: 73.38 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/1.01, allocations: 35.39 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006129/1.01, allocations: 475.6 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.01, allocations: 0 / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000908/1.011, allocations: 318.5 kB / 1.27 GB, free: 168.7 MB / 1.014 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.003462/1.015, allocations: 2.069 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.017, allocations: 0.8201 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.017, allocations: 0.5 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.018, allocations: 0.5284 MB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/1.019, allocations: 295.2 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.033, allocations: 6.515 MB / 1.28 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/1.034, allocations: 1.047 MB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009495/1.034, allocations: 283.7 kB / 1.281 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/1.035, allocations: 404.4 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/1.035, allocations: 0 / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07213/1.107, allocations: 21.83 MB / 1.303 GB, free: 155.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.28, allocations: 10.34 kB / 1.303 GB, free: 155.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches