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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_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.001016/0.001016, allocations: 108 kB / 15.6 MB, free: 132 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.001025/0.001025, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.373/2.373, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 72.06 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5072, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005849/0.5131, allocations: 5.143 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1334/0.6465, allocations: 150.7 MB / 1.17 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.6472, allocations: 15.94 kB / 1.17 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.6478, allocations: 198.1 kB / 1.17 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6495, allocations: 0.5629 MB / 1.17 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.6512, allocations: 0.8384 MB / 1.171 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.6526, allocations: 1.429 MB / 1.173 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.6534, allocations: 0.6638 MB / 1.173 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.654, allocations: 0.5022 MB / 1.174 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.6545, allocations: 0.5446 MB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.6547, allocations: 124 kB / 1.174 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007155/0.6554, allocations: 471.6 kB / 1.175 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.6556, allocations: 323 kB / 1.175 GB, free: 384 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.6562, allocations: 0.6024 MB / 1.176 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.6576, allocations: 1.702 MB / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6577, allocations: 3.938 kB / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6577, allocations: 0 / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.6577, allocations: 0 / 1.177 GB, free: 14.06 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.002209/0.6599, allocations: 1.488 MB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.6599, allocations: 11.97 kB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.6601, allocations: 152.1 kB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6611, allocations: 219.2 kB / 1.179 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.662, allocations: 0.7614 MB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.6621, allocations: 70 kB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.6622, allocations: 88 kB / 1.18 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.6637, allocations: 1.011 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.6637, allocations: 3.938 kB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/0.6638, allocations: 40 kB / 1.181 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.6638, allocations: 24 kB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.6656, allocations: 1.179 MB / 1.182 GB, free: 8.875 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.003625/0.6692, allocations: 2.875 MB / 1.185 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.6715, allocations: 0.9781 MB / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.672, allocations: 322.5 kB / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/0.6721, allocations: 28.61 kB / 1.186 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.6729, allocations: 0.5029 MB / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.914e-06/0.6729, allocations: 0 / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003027/0.676, allocations: 1.233 MB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.6761, allocations: 192.6 kB / 1.188 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.6767, allocations: 0.6449 MB / 1.189 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.6768, allocations: 41.7 kB / 1.189 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.6771, allocations: 424.2 kB / 1.189 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.6772, allocations: 264.2 kB / 1.19 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6774, allocations: 142.6 kB / 1.19 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6776, allocations: 390.8 kB / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.6781, allocations: 257.8 kB / 1.19 GB, free: 348 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.6787, allocations: 370.5 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6798, allocations: 0.6072 MB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6798, allocations: 0 / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001798/0.6816, allocations: 0.8291 MB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6816, allocations: 4 kB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6816, allocations: 0 / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.6822, allocations: 80.88 kB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.6828, allocations: 155.8 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.6847, allocations: 1.636 MB / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.6854, allocations: 99.31 kB / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.6854, allocations: 27.98 kB / 1.194 GB, free: 12.35 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: 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.0003147/0.6858, allocations: 274.7 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.6859, allocations: 82.97 kB / 1.194 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.6882, allocations: 1.101 MB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6882, allocations: 12 kB / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.6882, allocations: 0 / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6883, allocations: 3.984 kB / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.6912, allocations: 2.009 MB / 1.197 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6912, allocations: 3.938 kB / 1.197 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.6918, allocations: 155.8 kB / 1.198 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.6923, allocations: 64.8 kB / 1.198 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.6923, allocations: 27.97 kB / 1.198 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.6941, allocations: 1.662 MB / 1.199 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6941, allocations: 4.062 kB / 1.199 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.696, allocations: 1.023 MB / 1.2 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.6963, allocations: 275.7 kB / 1.201 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.6964, allocations: 20 kB / 1.201 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.6971, allocations: 65.03 kB / 1.201 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.6972, allocations: 72.89 kB / 1.201 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.6973, allocations: 39.91 kB / 1.201 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004947/0.6978, allocations: 467 kB / 1.201 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6978, allocations: 4 kB / 1.201 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007419/0.6985, allocations: 335.1 kB / 1.201 GB, free: 4.414 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.003242/0.7018, allocations: 2.069 MB / 1.204 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.704, allocations: 1.034 MB / 1.205 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.704, allocations: 0 / 1.205 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.7049, allocations: 0.5314 MB / 1.205 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.706, allocations: 317.5 kB / 1.205 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009152/0.7152, allocations: 6.657 MB / 1.212 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.7157, allocations: 1.043 MB / 1.213 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000782/0.7165, allocations: 274.9 kB / 1.213 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.717, allocations: 415.2 kB / 1.214 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/0.717, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.759, allocations: 22.03 MB / 1.235 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.95, allocations: 9.812 kB / 1.235 GB, free: 2.418 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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