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.001754/0.001754, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002333/0.002333, allocations: 218.8 kB / 22.24 MB, free: 5.258 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.812 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.112/3.112, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002051/0.002051, allocations: 63.97 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007429/0.3369, allocations: 4.661 MB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.5074, allocations: 132.7 MB / 1.46 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000949/0.5084, allocations: 23.81 kB / 1.46 GB, free: 7.574 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.5092, allocations: 206.1 kB / 1.46 GB, free: 7.371 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.5115, allocations: 0.5865 MB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.514, allocations: 0.8776 MB / 1.462 GB, free: 5.914 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.5162, allocations: 1.456 MB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.5173, allocations: 468.5 kB / 1.464 GB, free: 3.969 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.5183, allocations: 0.5451 MB / 1.464 GB, free: 3.422 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.5193, allocations: 0.5601 MB / 1.465 GB, free: 2.859 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.5196, allocations: 128 kB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.521, allocations: 0.5036 MB / 1.465 GB, free: 2.23 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.5214, allocations: 319 kB / 1.466 GB, free: 1.918 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007561/0.5222, allocations: 0.5015 MB / 1.466 GB, free: 1.414 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.525, allocations: 1.794 MB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.525, allocations: 0 / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.654e-06/0.525, allocations: 4 kB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.231e-05/0.5251, allocations: 0 / 1.468 GB, free: 15.61 MB / 1.17 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.003316/0.5284, allocations: 1.493 MB / 1.469 GB, free: 14.08 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5285, allocations: 8.031 kB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.5287, allocations: 156.1 kB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.5306, allocations: 279.9 kB / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.5323, allocations: 0.7296 MB / 1.47 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.5324, allocations: 78 kB / 1.47 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.5326, allocations: 88 kB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.5348, allocations: 1.262 MB / 1.472 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.5349, allocations: 0 / 1.472 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.535, allocations: 44 kB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.535, allocations: 24 kB / 1.472 GB, free: 11.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.5371, allocations: 1.132 MB / 1.473 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/0.5423, allocations: 2.309 MB / 1.475 GB, free: 7.785 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.5448, allocations: 0.8519 MB / 1.476 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.5454, allocations: 290.6 kB / 1.476 GB, free: 6.633 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/0.5455, allocations: 24.64 kB / 1.476 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.5466, allocations: 0.5995 MB / 1.477 GB, free: 5.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.5466, allocations: 0 / 1.477 GB, free: 5.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003439/0.55, allocations: 1.16 MB / 1.478 GB, free: 4.801 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.5502, allocations: 192.6 kB / 1.478 GB, free: 4.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.5513, allocations: 0.6646 MB / 1.479 GB, free: 3.898 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.5514, allocations: 45.7 kB / 1.479 GB, free: 3.848 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/0.5518, allocations: 445 kB / 1.479 GB, free: 3.406 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.5521, allocations: 281.5 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.5524, allocations: 150.6 kB / 1.48 GB, free: 2.977 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.5526, allocations: 386.8 kB / 1.48 GB, free: 2.59 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/0.5532, allocations: 257.8 kB / 1.48 GB, free: 2.336 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/0.554, allocations: 499.1 kB / 1.481 GB, free: 1.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.5553, allocations: 0.5994 MB / 1.481 GB, free: 1.184 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5553, allocations: 0 / 1.481 GB, free: 1.184 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002196/0.5575, allocations: 0.8335 MB / 1.482 GB, free: 344 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5575, allocations: 8.094 kB / 1.482 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5575, allocations: 0 / 1.482 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.5581, allocations: 76.78 kB / 1.482 GB, free: 256 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.5587, allocations: 159.8 kB / 1.482 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.561, allocations: 1.525 MB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009584/0.562, allocations: 100.7 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5621, allocations: 35.98 kB / 1.484 GB, free: 14.32 MB / 1.186 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.0006103/0.5627, allocations: 273.7 kB / 1.484 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.563, allocations: 91.44 kB / 1.484 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.5658, allocations: 1.097 MB / 1.485 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5658, allocations: 12 kB / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5658, allocations: 0 / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5658, allocations: 3.984 kB / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.5698, allocations: 1.868 MB / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5698, allocations: 0 / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.5704, allocations: 155.8 kB / 1.487 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.5708, allocations: 68.8 kB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/0.5709, allocations: 27.97 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.5729, allocations: 1.547 MB / 1.489 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5729, allocations: 4 kB / 1.489 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.5754, allocations: 1.034 MB / 1.49 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006152/0.576, allocations: 203.1 kB / 1.49 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.5762, allocations: 27.89 kB / 1.49 GB, free: 7.703 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.5769, allocations: 63.92 kB / 1.49 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.5771, allocations: 72.86 kB / 1.49 GB, free: 7.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/0.5772, allocations: 47.91 kB / 1.49 GB, free: 7.523 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007606/0.578, allocations: 487 kB / 1.491 GB, free: 7.055 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.578, allocations: 0 / 1.491 GB, free: 7.055 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001042/0.579, allocations: 335.1 kB / 1.491 GB, free: 6.727 MB / 1.186 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.004674/0.5837, allocations: 2.126 MB / 1.493 GB, free: 4.777 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.5857, allocations: 0.7922 MB / 1.494 GB, free: 3.977 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5857, allocations: 4 kB / 1.494 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5868, allocations: 0.5004 MB / 1.495 GB, free: 3.461 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.5884, allocations: 309 kB / 1.495 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6008, allocations: 6.517 MB / 1.501 GB, free: 12.51 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.6014, allocations: 465.6 kB / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009513/0.6023, allocations: 275 kB / 1.502 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/0.603, allocations: 415.2 kB / 1.502 GB, free: 11.34 MB / 1.201 GB Notification: Performance of SimCode: time 9.92e-07/0.603, allocations: 4 kB / 1.502 GB, free: 11.34 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07133/0.6743, allocations: 24.52 MB / 1.526 GB, free: 3.129 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.1, allocations: 6.328 kB / 1.526 GB, free: 3.125 MB / 1.217 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.012634128011996]