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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_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.004354/0.004354, allocations: 96.09 kB / 15.73 MB, free: 6.059 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.001075/0.001075, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 72.12 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2457, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00639/0.2521, allocations: 5.129 MB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6764/0.9285, allocations: 150.7 MB / 1.372 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.9293, allocations: 19.16 kB / 1.372 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.9299, allocations: 197.5 kB / 1.372 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.9317, allocations: 0.5781 MB / 1.373 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.9336, allocations: 0.8455 MB / 1.373 GB, free: 10.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.9352, allocations: 1.449 MB / 1.375 GB, free: 9.582 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000919/0.9361, allocations: 0.651 MB / 1.376 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007265/0.9368, allocations: 0.5152 MB / 1.376 GB, free: 8.977 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.9376, allocations: 0.5456 MB / 1.377 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.9378, allocations: 125.8 kB / 1.377 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000905/0.9388, allocations: 497.8 kB / 1.377 GB, free: 8.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.9391, allocations: 315.5 kB / 1.377 GB, free: 8.371 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006779/0.9398, allocations: 0.6049 MB / 1.378 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.9417, allocations: 1.744 MB / 1.38 GB, free: 7.027 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9418, allocations: 3.984 kB / 1.38 GB, free: 7.023 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9418, allocations: 0 / 1.38 GB, free: 7.023 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.808e-05/0.9418, allocations: 5.344 kB / 1.38 GB, free: 7.02 MB / 1.076 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.002722/0.9445, allocations: 1.538 MB / 1.381 GB, free: 5.805 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.9446, allocations: 9.781 kB / 1.381 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.9448, allocations: 149 kB / 1.381 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.9459, allocations: 218.5 kB / 1.382 GB, free: 5.578 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.9471, allocations: 0.7904 MB / 1.382 GB, free: 4.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.9472, allocations: 68.69 kB / 1.382 GB, free: 4.902 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.9473, allocations: 93.94 kB / 1.383 GB, free: 4.871 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.9491, allocations: 1.017 MB / 1.384 GB, free: 4.223 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.9491, allocations: 0 / 1.384 GB, free: 4.223 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.9492, allocations: 38.25 kB / 1.384 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.9492, allocations: 22 kB / 1.384 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.9513, allocations: 1.178 MB / 1.385 GB, free: 3.637 MB / 1.076 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.004161/0.9554, allocations: 2.861 MB / 1.388 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.9579, allocations: 0.9733 MB / 1.388 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.9585, allocations: 320.3 kB / 1.389 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.9586, allocations: 39.73 kB / 1.389 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008939/0.9595, allocations: 0.498 MB / 1.389 GB, free: 328 kB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.165e-06/0.9595, allocations: 4 kB / 1.389 GB, free: 324 kB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003375/0.9629, allocations: 1.233 MB / 1.391 GB, free: 15.65 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.963, allocations: 193.5 kB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007738/0.9638, allocations: 0.6422 MB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.9638, allocations: 42.77 kB / 1.391 GB, free: 15.01 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.9642, allocations: 434.5 kB / 1.392 GB, free: 14.63 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.9644, allocations: 270 kB / 1.392 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.9646, allocations: 157.5 kB / 1.392 GB, free: 14.3 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9648, allocations: 384.8 kB / 1.393 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.9653, allocations: 257.7 kB / 1.393 GB, free: 13.8 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.966, allocations: 368 kB / 1.393 GB, free: 13.57 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.9673, allocations: 0.6016 MB / 1.394 GB, free: 13.25 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9673, allocations: 1.375 kB / 1.394 GB, free: 13.25 MB / 1.092 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002007/0.9693, allocations: 0.8252 MB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9693, allocations: 9.469 kB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9693, allocations: 1.406 kB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.9699, allocations: 80.25 kB / 1.395 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.9706, allocations: 159.7 kB / 1.395 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.9727, allocations: 1.626 MB / 1.396 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.9734, allocations: 102.2 kB / 1.396 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.9735, allocations: 36.86 kB / 1.397 GB, free: 11.06 MB / 1.092 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.0003703/0.9739, allocations: 273.5 kB / 1.397 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.974, allocations: 87.47 kB / 1.397 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.9765, allocations: 1.109 MB / 1.398 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.9765, allocations: 9.062 kB / 1.398 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.9765, allocations: 1.094 kB / 1.398 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.9765, allocations: 3.984 kB / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.9799, allocations: 2.005 MB / 1.4 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.9799, allocations: 0 / 1.4 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.9806, allocations: 159.8 kB / 1.4 GB, free: 8.801 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.981, allocations: 69.52 kB / 1.4 GB, free: 8.766 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.9811, allocations: 28.03 kB / 1.4 GB, free: 8.746 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.9829, allocations: 1.665 MB / 1.402 GB, free: 7.117 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9829, allocations: 1.281 kB / 1.402 GB, free: 7.117 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.9849, allocations: 1.029 MB / 1.403 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.9853, allocations: 286.3 kB / 1.403 GB, free: 6.281 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.9854, allocations: 16.69 kB / 1.403 GB, free: 6.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.9862, allocations: 60.84 kB / 1.403 GB, free: 6.242 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9863, allocations: 74.33 kB / 1.403 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.9864, allocations: 34.03 kB / 1.403 GB, free: 6.191 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005264/0.9869, allocations: 475.8 kB / 1.404 GB, free: 5.918 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9869, allocations: 0 / 1.404 GB, free: 5.918 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008386/0.9878, allocations: 344.6 kB / 1.404 GB, free: 5.812 MB / 1.092 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.003441/0.9912, allocations: 2.073 MB / 1.406 GB, free: 4.52 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.9929, allocations: 0.8277 MB / 1.407 GB, free: 4.082 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9929, allocations: 4.188 kB / 1.407 GB, free: 4.078 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.9938, allocations: 0.5185 MB / 1.407 GB, free: 3.789 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.9951, allocations: 315.3 kB / 1.408 GB, free: 3.625 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/1.005, allocations: 6.453 MB / 1.414 GB, free: 14.3 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/1.005, allocations: 1.043 MB / 1.415 GB, free: 13.23 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008158/1.006, allocations: 270.9 kB / 1.415 GB, free: 12.96 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/1.007, allocations: 407.3 kB / 1.416 GB, free: 12.56 MB / 1.107 GB Notification: Performance of SimCode: time 3.71e-07/1.007, allocations: 0 / 1.416 GB, free: 12.56 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/1.051, allocations: 22.28 MB / 1.437 GB, free: 6.652 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.94, allocations: 6.703 kB / 1.437 GB, free: 6.648 MB / 1.123 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/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) "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