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.001412/0.001412, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002043/0.002043, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.793 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.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002378/0.002378, allocations: 70.77 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3258, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007381/0.3332, allocations: 4.655 MB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.5029, allocations: 132.7 MB / 1.498 GB, free: 4.148 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/0.5038, allocations: 23.81 kB / 1.498 GB, free: 4.125 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.5046, allocations: 214.1 kB / 1.498 GB, free: 3.914 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.5066, allocations: 0.5774 MB / 1.498 GB, free: 3.336 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5088, allocations: 0.8734 MB / 1.499 GB, free: 2.469 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.5108, allocations: 1.464 MB / 1.501 GB, free: 1 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.5117, allocations: 452.6 kB / 1.501 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.5126, allocations: 0.5334 MB / 1.502 GB, free: 0 / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.5134, allocations: 0.4937 MB / 1.502 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.5137, allocations: 131.9 kB / 1.502 GB, free: 15.38 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.5148, allocations: 0.4957 MB / 1.503 GB, free: 14.88 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.5151, allocations: 323 kB / 1.503 GB, free: 14.56 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.5158, allocations: 0.4937 MB / 1.503 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.5183, allocations: 1.802 MB / 1.505 GB, free: 12.26 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.5183, allocations: 4 kB / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5183, allocations: 0 / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.291e-05/0.5184, allocations: 0 / 1.505 GB, free: 12.25 MB / 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.003196/0.5216, allocations: 1.489 MB / 1.507 GB, free: 10.73 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5216, allocations: 8.031 kB / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.5219, allocations: 156.1 kB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.5238, allocations: 279.9 kB / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.5255, allocations: 0.7297 MB / 1.508 GB, free: 9.531 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.5256, allocations: 70 kB / 1.508 GB, free: 9.461 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.5258, allocations: 92 kB / 1.508 GB, free: 9.371 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.5279, allocations: 1.258 MB / 1.509 GB, free: 8.016 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.528, allocations: 4 kB / 1.509 GB, free: 8.012 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5281, allocations: 39.98 kB / 1.509 GB, free: 7.973 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5281, allocations: 24 kB / 1.509 GB, free: 7.949 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.5303, allocations: 1.128 MB / 1.51 GB, free: 6.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005103/0.5354, allocations: 2.321 MB / 1.513 GB, free: 4.438 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.538, allocations: 0.8533 MB / 1.513 GB, free: 3.578 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.5386, allocations: 278.7 kB / 1.514 GB, free: 3.301 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.031e-05/0.5387, allocations: 32.62 kB / 1.514 GB, free: 3.27 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.5399, allocations: 0.6013 MB / 1.514 GB, free: 2.629 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 4.298e-06/0.5399, allocations: 0 / 1.514 GB, free: 2.629 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003794/0.5437, allocations: 1.158 MB / 1.515 GB, free: 1.461 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.5438, allocations: 192.6 kB / 1.516 GB, free: 1.23 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.545, allocations: 0.6646 MB / 1.516 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.5452, allocations: 49.7 kB / 1.516 GB, free: 0.5 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.5456, allocations: 437 kB / 1.517 GB, free: 68 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.546, allocations: 281.6 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.5462, allocations: 150.6 kB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.00024/0.5465, allocations: 390.8 kB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.5471, allocations: 253.9 kB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/0.5481, allocations: 0.4951 MB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.5494, allocations: 0.5955 MB / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5494, allocations: 0 / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00221/0.5516, allocations: 0.8375 MB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5516, allocations: 4 kB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5516, allocations: 8.047 kB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.5522, allocations: 88.78 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.5529, allocations: 159.7 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.5554, allocations: 1.514 MB / 1.521 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/0.5563, allocations: 95.41 kB / 1.521 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.5564, allocations: 36.03 kB / 1.522 GB, free: 10.98 MB / 1.217 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.0006427/0.5571, allocations: 269.8 kB / 1.522 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.5574, allocations: 87.44 kB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.5602, allocations: 1.105 MB / 1.523 GB, free: 9.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5602, allocations: 12 kB / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5602, allocations: 0 / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.5602, allocations: 3.984 kB / 1.523 GB, free: 9.484 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.5642, allocations: 1.864 MB / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5642, allocations: 4 kB / 1.525 GB, free: 7.562 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.5649, allocations: 155.8 kB / 1.525 GB, free: 7.41 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.5653, allocations: 76.72 kB / 1.525 GB, free: 7.332 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.5654, allocations: 27.98 kB / 1.525 GB, free: 7.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.5674, allocations: 1.551 MB / 1.527 GB, free: 5.633 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5674, allocations: 0 / 1.527 GB, free: 5.633 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.5697, allocations: 1.026 MB / 1.528 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.5703, allocations: 215 kB / 1.528 GB, free: 4.375 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.5704, allocations: 16 kB / 1.528 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/0.5712, allocations: 66.73 kB / 1.528 GB, free: 4.297 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.5713, allocations: 80.86 kB / 1.528 GB, free: 4.219 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.5714, allocations: 35.92 kB / 1.528 GB, free: 4.184 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006969/0.5721, allocations: 487 kB / 1.528 GB, free: 3.715 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5721, allocations: 0 / 1.528 GB, free: 3.715 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009257/0.573, allocations: 343.1 kB / 1.529 GB, free: 3.379 MB / 1.217 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.004519/0.5775, allocations: 2.112 MB / 1.531 GB, free: 1.441 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.5794, allocations: 0.7921 MB / 1.532 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5794, allocations: 0 / 1.532 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.5805, allocations: 0.512 MB / 1.532 GB, free: 120 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.5819, allocations: 314.7 kB / 1.532 GB, free: 15.83 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.5936, allocations: 6.515 MB / 1.539 GB, free: 9.164 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.5941, allocations: 457.7 kB / 1.539 GB, free: 8.688 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008958/0.595, allocations: 279 kB / 1.539 GB, free: 8.41 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.5956, allocations: 411.3 kB / 1.54 GB, free: 8.008 MB / 1.232 GB Notification: Performance of SimCode: time 8.22e-07/0.5956, allocations: 0 / 1.54 GB, free: 8.008 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0687/0.6643, allocations: 24.27 MB / 1.564 GB, free: 68 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.56, allocations: 4 kB / 1.564 GB, free: 64 kB / 1.248 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.705736503005028]