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.001261/0.001261, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001577/0.001577, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.797 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.133/3.133, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.001951/0.001951, allocations: 69.72 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3563, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007396/0.3637, allocations: 4.653 MB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.5276, allocations: 132.7 MB / 1.46 GB, free: 7.586 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008458/0.5284, allocations: 19.81 kB / 1.46 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.5291, allocations: 206.1 kB / 1.46 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.5309, allocations: 0.5941 MB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.5329, allocations: 0.867 MB / 1.462 GB, free: 5.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.5346, allocations: 1.463 MB / 1.463 GB, free: 4.441 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007551/0.5354, allocations: 472.6 kB / 1.464 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.5361, allocations: 0.5489 MB / 1.464 GB, free: 3.402 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.5368, allocations: 0.5445 MB / 1.465 GB, free: 2.855 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.537, allocations: 132 kB / 1.465 GB, free: 2.727 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.5379, allocations: 0.5074 MB / 1.465 GB, free: 2.219 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.5382, allocations: 323 kB / 1.466 GB, free: 1.902 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.5388, allocations: 0.4976 MB / 1.466 GB, free: 1.402 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.5411, allocations: 1.794 MB / 1.468 GB, free: 15.6 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5411, allocations: 3.938 kB / 1.468 GB, free: 15.6 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5411, allocations: 0 / 1.468 GB, free: 15.6 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.518e-05/0.5411, allocations: 4 kB / 1.468 GB, free: 15.59 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.002949/0.5441, allocations: 1.485 MB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5442, allocations: 19.95 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.5443, allocations: 144.1 kB / 1.469 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.5463, allocations: 275.9 kB / 1.47 GB, free: 13.63 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.5478, allocations: 0.7413 MB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.5479, allocations: 69.94 kB / 1.47 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.548, allocations: 96 kB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.55, allocations: 1.262 MB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.55, allocations: 3.938 kB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.349e-05/0.5501, allocations: 36 kB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.5502, allocations: 24 kB / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.5521, allocations: 1.136 MB / 1.473 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.5569, allocations: 2.306 MB / 1.475 GB, free: 7.773 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.5595, allocations: 0.8519 MB / 1.476 GB, free: 6.91 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.5601, allocations: 282.7 kB / 1.476 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.5602, allocations: 24.62 kB / 1.476 GB, free: 6.605 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.5615, allocations: 0.6034 MB / 1.477 GB, free: 5.961 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 4.759e-06/0.5615, allocations: 0 / 1.477 GB, free: 5.961 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.004061/0.5655, allocations: 1.167 MB / 1.478 GB, free: 4.785 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5657, allocations: 188.6 kB / 1.478 GB, free: 4.559 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.5666, allocations: 0.6607 MB / 1.479 GB, free: 3.891 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/0.5667, allocations: 41.7 kB / 1.479 GB, free: 3.844 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.5671, allocations: 441 kB / 1.479 GB, free: 3.406 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.5674, allocations: 285.6 kB / 1.48 GB, free: 3.125 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.5676, allocations: 154.6 kB / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.5678, allocations: 386.8 kB / 1.48 GB, free: 2.582 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.5684, allocations: 253.9 kB / 1.48 GB, free: 2.332 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.5691, allocations: 495.1 kB / 1.481 GB, free: 1.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.5703, allocations: 0.6033 MB / 1.481 GB, free: 1.18 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5703, allocations: 0 / 1.481 GB, free: 1.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002067/0.5724, allocations: 0.8296 MB / 1.482 GB, free: 344 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5724, allocations: 4 kB / 1.482 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5724, allocations: 7.984 kB / 1.482 GB, free: 332 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/0.5731, allocations: 80.88 kB / 1.482 GB, free: 248 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.5737, allocations: 159.8 kB / 1.482 GB, free: 88 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.576, allocations: 1.533 MB / 1.484 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000813/0.5768, allocations: 95.44 kB / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.5769, allocations: 31.97 kB / 1.484 GB, free: 14.31 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.0004977/0.5774, allocations: 269.8 kB / 1.484 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.5776, allocations: 99.36 kB / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.5801, allocations: 1.101 MB / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5802, allocations: 8 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.5802, allocations: 0 / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5802, allocations: 3.984 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.5837, allocations: 1.868 MB / 1.487 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5837, allocations: 0 / 1.487 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.5844, allocations: 151.8 kB / 1.487 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.5848, allocations: 68.78 kB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.5849, allocations: 31.97 kB / 1.488 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.5869, allocations: 1.551 MB / 1.489 GB, free: 8.973 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5869, allocations: 0 / 1.489 GB, free: 8.973 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.5891, allocations: 1.034 MB / 1.49 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.5896, allocations: 207.1 kB / 1.49 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5898, allocations: 27.89 kB / 1.49 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.5905, allocations: 65.33 kB / 1.49 GB, free: 7.625 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5907, allocations: 76.86 kB / 1.49 GB, free: 7.551 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/0.5907, allocations: 31.92 kB / 1.49 GB, free: 7.52 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006465/0.5914, allocations: 499 kB / 1.491 GB, free: 7.039 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5914, allocations: 0 / 1.491 GB, free: 7.039 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000929/0.5923, allocations: 335.1 kB / 1.491 GB, free: 6.711 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.004443/0.5968, allocations: 2.122 MB / 1.493 GB, free: 4.766 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.5986, allocations: 0.7962 MB / 1.494 GB, free: 3.961 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.5986, allocations: 0 / 1.494 GB, free: 3.961 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5996, allocations: 0.5002 MB / 1.495 GB, free: 3.449 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.601, allocations: 298.9 kB / 1.495 GB, free: 3.176 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.6125, allocations: 6.518 MB / 1.501 GB, free: 12.5 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.613, allocations: 471.8 kB / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009479/0.614, allocations: 271 kB / 1.502 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.6146, allocations: 407.3 kB / 1.502 GB, free: 11.35 MB / 1.201 GB Notification: Performance of SimCode: time 7.92e-07/0.6146, allocations: 0 / 1.502 GB, free: 11.35 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/0.6792, allocations: 24.53 MB / 1.526 GB, free: 3.125 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.79, allocations: 0 / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 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.mat","/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: 20.636032123002224]