Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_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.005045/0.005045, allocations: 98.73 kB / 15.73 MB, free: 6.055 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.001509/0.001509, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6367, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007156/0.6439, allocations: 5.124 MB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1677/0.8116, allocations: 150.7 MB / 1.372 GB, free: 5.664 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.8123, allocations: 11.94 kB / 1.372 GB, free: 5.652 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.813, allocations: 202.1 kB / 1.372 GB, free: 5.453 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.8148, allocations: 0.5612 MB / 1.373 GB, free: 4.891 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.8168, allocations: 0.8549 MB / 1.374 GB, free: 4.043 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.8185, allocations: 1.456 MB / 1.375 GB, free: 2.582 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009815/0.8195, allocations: 0.6474 MB / 1.376 GB, free: 1.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007313/0.8202, allocations: 0.51 MB / 1.376 GB, free: 1.398 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007492/0.821, allocations: 0.5523 MB / 1.377 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.8212, allocations: 128 kB / 1.377 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.8221, allocations: 483.6 kB / 1.378 GB, free: 252 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.8225, allocations: 323 kB / 1.378 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.8231, allocations: 0.6102 MB / 1.378 GB, free: 15.32 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.8252, allocations: 1.736 MB / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.8252, allocations: 0 / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of FrontEnd: time 8.61e-07/0.8252, allocations: 0 / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.8253, allocations: 0 / 1.38 GB, free: 13.57 MB / 1.107 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.002874/0.8281, allocations: 1.549 MB / 1.382 GB, free: 11.96 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8282, allocations: 8.031 kB / 1.382 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.8284, allocations: 148.1 kB / 1.382 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.8295, allocations: 220 kB / 1.382 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.8308, allocations: 0.797 MB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.8308, allocations: 66 kB / 1.383 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.831, allocations: 96 kB / 1.383 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.8328, allocations: 1.003 MB / 1.384 GB, free: 9.551 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.8328, allocations: 0 / 1.384 GB, free: 9.551 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.8329, allocations: 43.98 kB / 1.384 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.833, allocations: 20 kB / 1.384 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.8351, allocations: 1.175 MB / 1.385 GB, free: 8.312 MB / 1.107 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.004419/0.8395, allocations: 2.872 MB / 1.388 GB, free: 5.312 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.8422, allocations: 0.9715 MB / 1.389 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006423/0.8428, allocations: 318.7 kB / 1.389 GB, free: 4.008 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-05/0.8429, allocations: 28.61 kB / 1.389 GB, free: 3.98 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000985/0.8439, allocations: 0.5033 MB / 1.39 GB, free: 3.457 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/0.8439, allocations: 4 kB / 1.39 GB, free: 3.453 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003444/0.8474, allocations: 1.237 MB / 1.391 GB, free: 2.188 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.8475, allocations: 192.6 kB / 1.391 GB, free: 1.957 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.8483, allocations: 0.6371 MB / 1.392 GB, free: 1.316 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.8484, allocations: 49.64 kB / 1.392 GB, free: 1.262 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.8488, allocations: 425 kB / 1.392 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.849, allocations: 277.6 kB / 1.392 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.8493, allocations: 158.6 kB / 1.393 GB, free: 416 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8495, allocations: 382.8 kB / 1.393 GB, free: 24 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.8501, allocations: 253.9 kB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.8508, allocations: 370.5 kB / 1.394 GB, free: 15.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.8521, allocations: 0.5994 MB / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8521, allocations: 0 / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002088/0.8542, allocations: 0.8296 MB / 1.395 GB, free: 13.93 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8542, allocations: 8 kB / 1.395 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8543, allocations: 0 / 1.395 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.8549, allocations: 84.86 kB / 1.395 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.8556, allocations: 155.8 kB / 1.395 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.8578, allocations: 1.63 MB / 1.397 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.8585, allocations: 99.47 kB / 1.397 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.8585, allocations: 35.97 kB / 1.397 GB, free: 11.78 MB / 1.123 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.0003756/0.8589, allocations: 265.6 kB / 1.397 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.8591, allocations: 95.42 kB / 1.397 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.8618, allocations: 1.113 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.8619, allocations: 8 kB / 1.398 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.8619, allocations: 0 / 1.398 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8619, allocations: 3.984 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.8655, allocations: 1.997 MB / 1.4 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8655, allocations: 4 kB / 1.4 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.8662, allocations: 147.8 kB / 1.4 GB, free: 8.066 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.8667, allocations: 76.78 kB / 1.401 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.8667, allocations: 23.98 kB / 1.401 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.8688, allocations: 1.67 MB / 1.402 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8688, allocations: 0 / 1.402 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.8711, allocations: 1.03 MB / 1.403 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.8714, allocations: 280.2 kB / 1.403 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.8716, allocations: 28.05 kB / 1.403 GB, free: 4.785 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.8723, allocations: 61.97 kB / 1.404 GB, free: 4.727 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8725, allocations: 72.89 kB / 1.404 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.8726, allocations: 35.92 kB / 1.404 GB, free: 4.621 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006039/0.8732, allocations: 475 kB / 1.404 GB, free: 4.16 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.094e-06/0.8732, allocations: 4 kB / 1.404 GB, free: 4.156 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007819/0.874, allocations: 339 kB / 1.404 GB, free: 3.824 MB / 1.123 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.004333/0.8783, allocations: 2.079 MB / 1.406 GB, free: 1.895 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.8801, allocations: 0.8156 MB / 1.407 GB, free: 1.07 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8801, allocations: 4.188 kB / 1.407 GB, free: 1.066 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.8812, allocations: 0.5275 MB / 1.408 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.8824, allocations: 312.4 kB / 1.408 GB, free: 248 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.8934, allocations: 6.448 MB / 1.414 GB, free: 9.641 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.8941, allocations: 1.039 MB / 1.415 GB, free: 8.57 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.8949, allocations: 274.8 kB / 1.416 GB, free: 8.297 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.8955, allocations: 407.3 kB / 1.416 GB, free: 7.898 MB / 1.139 GB Notification: Performance of SimCode: time 3.21e-07/0.8955, allocations: 3.938 kB / 1.416 GB, free: 7.895 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05572/0.9512, allocations: 22.27 MB / 1.438 GB, free: 1.992 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.55, allocations: 8.5 kB / 1.438 GB, free: 1.984 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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