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.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.001807/0.001807, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001623/0.001623, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.165/3.165, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002031/0.002031, allocations: 71.61 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4623, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.009012/0.4714, allocations: 5.222 MB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2102/0.6816, allocations: 154.2 MB / 1.508 GB, free: 8.453 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.6828, allocations: 27.81 kB / 1.509 GB, free: 8.426 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.6836, allocations: 206.1 kB / 1.509 GB, free: 8.223 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.686, allocations: 0.5876 MB / 1.509 GB, free: 7.637 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.6886, allocations: 0.8836 MB / 1.51 GB, free: 6.758 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002354/0.6909, allocations: 1.471 MB / 1.512 GB, free: 5.277 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009407/0.6919, allocations: 472.6 kB / 1.512 GB, free: 4.789 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009533/0.6928, allocations: 0.5411 MB / 1.513 GB, free: 4.246 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007647/0.6936, allocations: 0.5562 MB / 1.513 GB, free: 3.688 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.6938, allocations: 128 kB / 1.513 GB, free: 3.562 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.695, allocations: 0.5191 MB / 1.514 GB, free: 3.043 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.6953, allocations: 323 kB / 1.514 GB, free: 2.727 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.696, allocations: 0.6102 MB / 1.515 GB, free: 2.113 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.6987, allocations: 1.79 MB / 1.516 GB, free: 324 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6987, allocations: 3.938 kB / 1.516 GB, free: 320 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6987, allocations: 3.938 kB / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.6987, allocations: 0 / 1.516 GB, free: 316 kB / 1.201 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.003214/0.7019, allocations: 1.489 MB / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.702, allocations: 8.031 kB / 1.518 GB, free: 14.78 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.7022, allocations: 152.1 kB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.7041, allocations: 275.9 kB / 1.518 GB, free: 14.35 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.7056, allocations: 0.7375 MB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.7057, allocations: 70 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.7058, allocations: 92 kB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.7076, allocations: 1.003 MB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.7076, allocations: 11.94 kB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.7077, allocations: 43.92 kB / 1.52 GB, free: 12.33 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.7077, allocations: 24 kB / 1.52 GB, free: 12.31 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.7097, allocations: 1.167 MB / 1.521 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.7147, allocations: 2.93 MB / 1.524 GB, free: 8.059 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.7171, allocations: 0.8476 MB / 1.525 GB, free: 7.199 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.7176, allocations: 290.7 kB / 1.525 GB, free: 6.914 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.429e-05/0.7177, allocations: 32.59 kB / 1.525 GB, free: 6.883 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.7187, allocations: 0.4969 MB / 1.526 GB, free: 6.367 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 3.516e-06/0.7187, allocations: 0 / 1.526 GB, free: 6.367 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003535/0.7223, allocations: 1.17 MB / 1.527 GB, free: 5.188 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.7224, allocations: 188.6 kB / 1.527 GB, free: 4.961 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7234, allocations: 0.6646 MB / 1.528 GB, free: 4.289 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/0.7235, allocations: 45.7 kB / 1.528 GB, free: 4.238 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.724, allocations: 437 kB / 1.528 GB, free: 3.805 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.7242, allocations: 281.6 kB / 1.529 GB, free: 3.527 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.7245, allocations: 146.6 kB / 1.529 GB, free: 3.375 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.7247, allocations: 394.7 kB / 1.529 GB, free: 2.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.7252, allocations: 253.9 kB / 1.529 GB, free: 2.734 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.7259, allocations: 366.5 kB / 1.53 GB, free: 2.352 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.7271, allocations: 0.6072 MB / 1.53 GB, free: 1.734 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7271, allocations: 0 / 1.53 GB, free: 1.734 MB / 1.217 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002073/0.7292, allocations: 0.8296 MB / 1.531 GB, free: 0.8984 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.7292, allocations: 5.719 kB / 1.531 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7292, allocations: 8.094 kB / 1.531 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.7298, allocations: 80.77 kB / 1.531 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.7305, allocations: 163.8 kB / 1.531 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.7331, allocations: 1.533 MB / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.7339, allocations: 95.41 kB / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.734, allocations: 35.95 kB / 1.533 GB, free: 14.86 MB / 1.232 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.0005351/0.7345, allocations: 266.3 kB / 1.533 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.7347, allocations: 91.44 kB / 1.533 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.7372, allocations: 1.093 MB / 1.534 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.7372, allocations: 8 kB / 1.534 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7372, allocations: 7.984 kB / 1.534 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.7372, allocations: 3.984 kB / 1.534 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.7409, allocations: 1.985 MB / 1.536 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.7409, allocations: 4 kB / 1.536 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.7416, allocations: 159.8 kB / 1.536 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.742, allocations: 72.8 kB / 1.537 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.7421, allocations: 27.97 kB / 1.537 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.7442, allocations: 1.558 MB / 1.538 GB, free: 9.391 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7442, allocations: 0 / 1.538 GB, free: 9.391 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.7465, allocations: 1.03 MB / 1.539 GB, free: 8.344 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.747, allocations: 207 kB / 1.539 GB, free: 8.141 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.7471, allocations: 23.98 kB / 1.539 GB, free: 8.117 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.7478, allocations: 59.94 kB / 1.539 GB, free: 8.059 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.7479, allocations: 80.86 kB / 1.539 GB, free: 7.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.748, allocations: 39.91 kB / 1.539 GB, free: 7.941 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007315/0.7488, allocations: 491 kB / 1.54 GB, free: 7.469 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7488, allocations: 3.938 kB / 1.54 GB, free: 7.465 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00111/0.7499, allocations: 343 kB / 1.54 GB, free: 7.129 MB / 1.232 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.004737/0.7546, allocations: 2.081 MB / 1.542 GB, free: 5.203 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.7569, allocations: 0.7884 MB / 1.543 GB, free: 4.402 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.7569, allocations: 0 / 1.543 GB, free: 4.402 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.758, allocations: 0.5002 MB / 1.544 GB, free: 3.887 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.7598, allocations: 315.4 kB / 1.544 GB, free: 3.602 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.7729, allocations: 6.514 MB / 1.55 GB, free: 12.93 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/0.7738, allocations: 1.047 MB / 1.551 GB, free: 11.85 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001001/0.7748, allocations: 283 kB / 1.551 GB, free: 11.57 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/0.7755, allocations: 411.3 kB / 1.552 GB, free: 11.17 MB / 1.248 GB Notification: Performance of SimCode: time 1.122e-06/0.7755, allocations: 0 / 1.552 GB, free: 11.17 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07537/0.8509, allocations: 23.21 MB / 1.575 GB, free: 4.191 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.65, allocations: 12.19 kB / 1.575 GB, free: 4.184 MB / 1.264 GB " [Timeout remaining time 285] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.762518201999683]