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.001641/0.001641, allocations: 112.5 kB / 15.73 MB, free: 76 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.002083/0.002083, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.05 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.263, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005591/0.2687, allocations: 4.388 MB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.4222, allocations: 150.6 MB / 1.239 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009067/0.4232, allocations: 19.88 kB / 1.239 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.4239, allocations: 174.4 kB / 1.239 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.4261, allocations: 0.5057 MB / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.4287, allocations: 0.8415 MB / 1.24 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.4303, allocations: 1.328 MB / 1.242 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.4313, allocations: 0.6951 MB / 1.242 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.4322, allocations: 0.4982 MB / 1.243 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.4329, allocations: 0.525 MB / 1.243 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.4332, allocations: 128 kB / 1.243 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009922/0.4342, allocations: 495.6 kB / 1.244 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.4345, allocations: 315 kB / 1.244 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.4352, allocations: 0.5829 MB / 1.245 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.4374, allocations: 1.697 MB / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4374, allocations: 0 / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.687e-06/0.4375, allocations: 0 / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.599e-05/0.4375, allocations: 3.938 kB / 1.246 GB, free: 14.62 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.003013/0.4405, allocations: 1.518 MB / 1.248 GB, free: 13.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.4406, allocations: 12.03 kB / 1.248 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.4408, allocations: 152.1 kB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4419, allocations: 220 kB / 1.248 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.4432, allocations: 0.7932 MB / 1.249 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.4433, allocations: 70 kB / 1.249 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4434, allocations: 88 kB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.4452, allocations: 1.011 MB / 1.25 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.4452, allocations: 3.938 kB / 1.25 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/0.4453, allocations: 44 kB / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.4454, allocations: 20 kB / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.4473, allocations: 1.171 MB / 1.251 GB, free: 9.391 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.4517, allocations: 2.586 MB / 1.254 GB, free: 6.742 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.454, allocations: 0.9698 MB / 1.255 GB, free: 5.754 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.4546, allocations: 322.5 kB / 1.255 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.4547, allocations: 28.62 kB / 1.255 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.4556, allocations: 0.5008 MB / 1.256 GB, free: 4.887 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.4556, allocations: 0 / 1.256 GB, free: 4.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003122/0.4587, allocations: 1.229 MB / 1.257 GB, free: 3.633 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.4588, allocations: 192.6 kB / 1.257 GB, free: 3.402 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.4597, allocations: 0.6488 MB / 1.258 GB, free: 2.746 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.4598, allocations: 41.7 kB / 1.258 GB, free: 2.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.4601, allocations: 432.9 kB / 1.258 GB, free: 2.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.4603, allocations: 281.6 kB / 1.258 GB, free: 1.992 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.4605, allocations: 146.6 kB / 1.259 GB, free: 1.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4607, allocations: 386.8 kB / 1.259 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.4612, allocations: 257.9 kB / 1.259 GB, free: 1.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.4618, allocations: 362.5 kB / 1.259 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.463, allocations: 0.5955 MB / 1.26 GB, free: 216 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.463, allocations: 0 / 1.26 GB, free: 216 kB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.5466/1.01, allocations: 0.8264 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.01, allocations: 6.375 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.01, allocations: 0.8125 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/1.01, allocations: 80.14 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.011, allocations: 157.9 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/1.013, allocations: 1.622 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/1.013, allocations: 102.5 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/1.013, allocations: 31.59 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.000408/1.014, allocations: 278.9 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.014, allocations: 88.44 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/1.016, allocations: 1.087 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.017, allocations: 9.844 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/1.017, allocations: 0.7188 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/1.017, allocations: 8.906 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/1.02, allocations: 2.019 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.02, allocations: 3.094 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/1.021, allocations: 156.7 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/1.021, allocations: 71.45 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/1.021, allocations: 25.22 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/1.023, allocations: 1.672 MB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.023, allocations: 0.8438 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/1.025, allocations: 1.025 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/1.025, allocations: 278.8 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.025, allocations: 25.77 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/1.026, allocations: 66.94 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.026, allocations: 68.67 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/1.026, allocations: 38.34 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005965/1.027, allocations: 469.5 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.027, allocations: 0 / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008956/1.028, allocations: 330.5 kB / 1.27 GB, free: 168.6 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.003429/1.031, allocations: 2.064 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00188/1.033, allocations: 0.8263 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.033, allocations: 1.062 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.034, allocations: 0.5312 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.001282/1.035, allocations: 300.5 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.01087/1.046, allocations: 6.552 MB / 1.28 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/1.047, allocations: 1.043 MB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008659/1.048, allocations: 271.4 kB / 1.282 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.048, allocations: 400.9 kB / 1.282 GB, free: 162.5 MB / 1.014 GB Notification: Performance of SimCode: time 5.62e-07/1.048, allocations: 0 / 1.282 GB, free: 162.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/1.094, allocations: 21.84 MB / 1.303 GB, free: 155.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.01, allocations: 5.797 kB / 1.303 GB, free: 155.2 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=864000.000000 File[6]=1728.000000 " Variables in the reference:time,relAirMas.relAirMas Variables in the result:time,relAirMas.relAirMas,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR