Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 110 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7916 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.56 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3971, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007969/0.4051, allocations: 5.186 MB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2086/0.6137, allocations: 154 MB / 1.476 GB, free: 3.555 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6148, allocations: 23.81 kB / 1.476 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.6157, allocations: 210 kB / 1.476 GB, free: 3.324 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.6183, allocations: 0.587 MB / 1.477 GB, free: 2.738 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.6211, allocations: 0.863 MB / 1.478 GB, free: 1.883 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.6236, allocations: 1.464 MB / 1.479 GB, free: 424 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.6249, allocations: 483.9 kB / 1.48 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.6264, allocations: 0.5373 MB / 1.48 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.6276, allocations: 0.5562 MB / 1.481 GB, free: 14.82 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.6281, allocations: 128 kB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.6298, allocations: 0.5191 MB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005691/0.6303, allocations: 319 kB / 1.482 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.6316, allocations: 0.6141 MB / 1.482 GB, free: 13.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003713/0.6353, allocations: 1.786 MB / 1.484 GB, free: 11.45 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6353, allocations: 4 kB / 1.484 GB, free: 11.45 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6353, allocations: 0 / 1.484 GB, free: 11.45 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.42e-05/0.6353, allocations: 0 / 1.484 GB, free: 11.45 MB / 1.186 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.00411/0.6395, allocations: 1.568 MB / 1.486 GB, free: 9.824 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6395, allocations: 19.92 kB / 1.486 GB, free: 9.805 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003052/0.6398, allocations: 148.1 kB / 1.486 GB, free: 9.652 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.6419, allocations: 279.9 kB / 1.486 GB, free: 9.379 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6436, allocations: 0.8057 MB / 1.487 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.6437, allocations: 66 kB / 1.487 GB, free: 8.465 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.6439, allocations: 95.94 kB / 1.487 GB, free: 8.371 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.6461, allocations: 1.007 MB / 1.488 GB, free: 7.328 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6461, allocations: 0 / 1.488 GB, free: 7.328 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.6463, allocations: 40 kB / 1.488 GB, free: 7.289 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.6463, allocations: 20 kB / 1.488 GB, free: 7.27 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.6486, allocations: 1.179 MB / 1.489 GB, free: 6.086 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.6541, allocations: 2.968 MB / 1.492 GB, free: 2.969 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.6568, allocations: 0.9241 MB / 1.493 GB, free: 2.023 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.6575, allocations: 290.7 kB / 1.493 GB, free: 1.738 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.258e-05/0.6575, allocations: 32.61 kB / 1.493 GB, free: 1.707 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.6586, allocations: 0.4991 MB / 1.494 GB, free: 1.188 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.6586, allocations: 0 / 1.494 GB, free: 1.188 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003724/0.6623, allocations: 1.235 MB / 1.495 GB, free: 15.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6624, allocations: 196.6 kB / 1.495 GB, free: 15.69 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.6635, allocations: 0.6645 MB / 1.496 GB, free: 15.02 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.6636, allocations: 45.7 kB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.6641, allocations: 441 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.6643, allocations: 277.6 kB / 1.497 GB, free: 14.26 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.6646, allocations: 154.5 kB / 1.497 GB, free: 14.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.6648, allocations: 394.7 kB / 1.497 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.6654, allocations: 257.9 kB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.6662, allocations: 366.5 kB / 1.498 GB, free: 13.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.6675, allocations: 0.5994 MB / 1.498 GB, free: 12.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6675, allocations: 8.062 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002269/0.6698, allocations: 0.8296 MB / 1.499 GB, free: 11.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6698, allocations: 4 kB / 1.499 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.6698, allocations: 0 / 1.499 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.6704, allocations: 84.86 kB / 1.499 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.6712, allocations: 155.8 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.6735, allocations: 1.629 MB / 1.501 GB, free: 9.594 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.6744, allocations: 99.42 kB / 1.501 GB, free: 9.496 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.6745, allocations: 31.98 kB / 1.501 GB, free: 9.465 MB / 1.201 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.0005766/0.675, allocations: 281.5 kB / 1.501 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.6753, allocations: 91.44 kB / 1.501 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.6781, allocations: 1.101 MB / 1.503 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.6781, allocations: 8 kB / 1.503 GB, free: 7.965 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.6781, allocations: 0 / 1.503 GB, free: 7.965 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6781, allocations: 7.984 kB / 1.503 GB, free: 7.957 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.6822, allocations: 2.025 MB / 1.505 GB, free: 5.871 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6822, allocations: 0 / 1.505 GB, free: 5.871 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.6829, allocations: 147.8 kB / 1.505 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.6834, allocations: 72.78 kB / 1.505 GB, free: 5.652 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.6834, allocations: 23.98 kB / 1.505 GB, free: 5.629 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.6856, allocations: 1.662 MB / 1.506 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6856, allocations: 0 / 1.506 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.688, allocations: 1.026 MB / 1.507 GB, free: 2.773 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.6886, allocations: 284.2 kB / 1.508 GB, free: 2.477 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.6888, allocations: 23.95 kB / 1.508 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.6896, allocations: 69.8 kB / 1.508 GB, free: 2.387 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.6897, allocations: 68.91 kB / 1.508 GB, free: 2.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.6898, allocations: 43.84 kB / 1.508 GB, free: 2.277 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007831/0.6906, allocations: 491 kB / 1.508 GB, free: 1.805 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6906, allocations: 3.938 kB / 1.508 GB, free: 1.801 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001101/0.6917, allocations: 339 kB / 1.509 GB, free: 1.469 MB / 1.201 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.004685/0.6964, allocations: 2.079 MB / 1.511 GB, free: 15.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.6983, allocations: 0.7924 MB / 1.511 GB, free: 14.74 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6983, allocations: 0 / 1.511 GB, free: 14.74 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6994, allocations: 0.5041 MB / 1.512 GB, free: 14.22 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.7009, allocations: 316 kB / 1.512 GB, free: 13.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.7134, allocations: 6.514 MB / 1.519 GB, free: 7.266 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.7142, allocations: 1.049 MB / 1.52 GB, free: 6.188 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009244/0.7151, allocations: 271.1 kB / 1.52 GB, free: 5.918 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/0.7158, allocations: 415.2 kB / 1.52 GB, free: 5.512 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.7158, allocations: 0 / 1.52 GB, free: 5.512 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06762/0.7834, allocations: 22.67 MB / 1.542 GB, free: 15.16 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.14, allocations: 5.688 kB / 1.542 GB, free: 15.16 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.020382571965456]