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.007577/0.007577, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.002071/0.002071, allocations: 195.6 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.174/2.174, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.223/3.223, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 63.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.046, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.01075/1.057, allocations: 5.138 MB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2608/1.317, allocations: 150.7 MB / 1.318 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/1.319, allocations: 19.88 kB / 1.318 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008413/1.319, allocations: 198.1 kB / 1.318 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/1.322, allocations: 0.5697 MB / 1.319 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/1.326, allocations: 0.8428 MB / 1.32 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002615/1.328, allocations: 1.444 MB / 1.321 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/1.33, allocations: 0.6547 MB / 1.322 GB, free: 3.582 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/1.331, allocations: 0.5061 MB / 1.322 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/1.332, allocations: 0.5445 MB / 1.323 GB, free: 2.527 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/1.332, allocations: 128 kB / 1.323 GB, free: 2.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/1.334, allocations: 495.6 kB / 1.324 GB, free: 1.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004614/1.334, allocations: 319 kB / 1.324 GB, free: 1.605 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009099/1.335, allocations: 0.6064 MB / 1.324 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/1.338, allocations: 1.744 MB / 1.326 GB, free: 15.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.338, allocations: 0 / 1.326 GB, free: 15.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.724e-06/1.338, allocations: 0 / 1.326 GB, free: 15.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.097e-05/1.338, allocations: 0 / 1.326 GB, free: 15.25 MB / 1.061 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.004184/1.342, allocations: 1.535 MB / 1.328 GB, free: 13.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.342, allocations: 16.92 kB / 1.328 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000285/1.343, allocations: 152.1 kB / 1.328 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/1.345, allocations: 224 kB / 1.328 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/1.347, allocations: 0.7854 MB / 1.329 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.347, allocations: 70 kB / 1.329 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/1.347, allocations: 92 kB / 1.329 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/1.35, allocations: 1.007 MB / 1.33 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.35, allocations: 0 / 1.33 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/1.35, allocations: 47.98 kB / 1.33 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/1.35, allocations: 20 kB / 1.33 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/1.354, allocations: 1.179 MB / 1.331 GB, free: 9.992 MB / 1.061 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.007288/1.361, allocations: 2.864 MB / 1.334 GB, free: 7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/1.365, allocations: 0.981 MB / 1.335 GB, free: 6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/1.366, allocations: 314.6 kB / 1.335 GB, free: 5.688 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/1.366, allocations: 32.61 kB / 1.335 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/1.368, allocations: 0.5009 MB / 1.336 GB, free: 5.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 7.164e-06/1.368, allocations: 0 / 1.336 GB, free: 5.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.005453/1.374, allocations: 1.237 MB / 1.337 GB, free: 3.875 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/1.374, allocations: 200.6 kB / 1.337 GB, free: 3.637 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.375, allocations: 0.6411 MB / 1.338 GB, free: 2.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.375, allocations: 41.7 kB / 1.338 GB, free: 2.941 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/1.376, allocations: 429 kB / 1.338 GB, free: 2.516 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/1.376, allocations: 277.6 kB / 1.338 GB, free: 2.242 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/1.377, allocations: 146.6 kB / 1.339 GB, free: 2.094 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003027/1.377, allocations: 386.8 kB / 1.339 GB, free: 1.707 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/1.378, allocations: 257.9 kB / 1.339 GB, free: 1.457 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.379, allocations: 374.5 kB / 1.34 GB, free: 1.062 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.381, allocations: 0.5994 MB / 1.34 GB, free: 464 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.381, allocations: 0 / 1.34 GB, free: 464 kB / 1.061 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003394/1.385, allocations: 0.8296 MB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.385, allocations: 8 kB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.385, allocations: 0 / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008778/1.386, allocations: 84.86 kB / 1.341 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.387, allocations: 159.7 kB / 1.341 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/1.39, allocations: 1.63 MB / 1.343 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.391, allocations: 105.8 kB / 1.343 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.392, allocations: 27.98 kB / 1.343 GB, free: 13.46 MB / 1.076 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.0007336/1.392, allocations: 270.3 kB / 1.343 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/1.393, allocations: 87.44 kB / 1.343 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/1.397, allocations: 1.105 MB / 1.344 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.397, allocations: 8 kB / 1.344 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.397, allocations: 0 / 1.344 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.397, allocations: 7.984 kB / 1.344 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/1.403, allocations: 2.001 MB / 1.346 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.403, allocations: 0 / 1.346 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.404, allocations: 147.8 kB / 1.346 GB, free: 9.754 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/1.404, allocations: 84.7 kB / 1.347 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/1.404, allocations: 23.98 kB / 1.347 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/1.408, allocations: 1.67 MB / 1.348 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.408, allocations: 0 / 1.348 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/1.412, allocations: 1.03 MB / 1.349 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/1.412, allocations: 272.3 kB / 1.349 GB, free: 6.492 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.412, allocations: 27.98 kB / 1.349 GB, free: 6.465 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.414, allocations: 67.94 kB / 1.35 GB, free: 6.398 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/1.414, allocations: 68.89 kB / 1.35 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.414, allocations: 39.92 kB / 1.35 GB, free: 6.293 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001014/1.415, allocations: 471 kB / 1.35 GB, free: 5.836 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.9e-07/1.415, allocations: 0 / 1.35 GB, free: 5.836 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001453/1.417, allocations: 335.1 kB / 1.35 GB, free: 5.508 MB / 1.076 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.006745/1.423, allocations: 2.074 MB / 1.352 GB, free: 3.574 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002943/1.426, allocations: 0.8274 MB / 1.353 GB, free: 2.734 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.426, allocations: 4 kB / 1.353 GB, free: 2.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/1.428, allocations: 0.5237 MB / 1.354 GB, free: 2.195 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.43, allocations: 314.9 kB / 1.354 GB, free: 1.914 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/1.448, allocations: 6.446 MB / 1.36 GB, free: 11.31 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.449, allocations: 1.039 MB / 1.361 GB, free: 10.24 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001493/1.451, allocations: 282.7 kB / 1.362 GB, free: 9.957 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009925/1.452, allocations: 403.3 kB / 1.362 GB, free: 9.562 MB / 1.092 GB Notification: Performance of SimCode: time 8.21e-07/1.452, allocations: 3.938 kB / 1.362 GB, free: 9.559 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08813/1.54, allocations: 22.28 MB / 1.384 GB, free: 3.57 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/19.21, allocations: 12.44 kB / 1.384 GB, free: 3.559 MB / 1.107 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