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.001975/0.001975, allocations: 106.5 kB / 16.45 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.002269/0.002269, allocations: 216.2 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.149/3.149, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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.002141/0.002141, allocations: 75.61 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3707, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008102/0.3788, allocations: 5.186 MB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1996/0.5784, allocations: 154 MB / 1.476 GB, free: 3.512 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.5796, allocations: 23.81 kB / 1.476 GB, free: 3.488 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000929/0.5805, allocations: 198.1 kB / 1.476 GB, free: 3.293 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.583, allocations: 0.5849 MB / 1.477 GB, free: 2.707 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.5858, allocations: 0.8743 MB / 1.478 GB, free: 1.84 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.5882, allocations: 1.456 MB / 1.479 GB, free: 388 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.5892, allocations: 480 kB / 1.48 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000951/0.5902, allocations: 0.5373 MB / 1.48 GB, free: 15.35 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.591, allocations: 0.5601 MB / 1.481 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.5913, allocations: 128 kB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5926, allocations: 0.5152 MB / 1.481 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.593, allocations: 326.9 kB / 1.482 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.5938, allocations: 0.6141 MB / 1.482 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.5965, allocations: 1.782 MB / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5965, allocations: 4 kB / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5965, allocations: 0 / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.5966, allocations: 0 / 1.484 GB, free: 11.41 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.003036/0.5996, allocations: 1.56 MB / 1.486 GB, free: 9.801 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5996, allocations: 19.92 kB / 1.486 GB, free: 9.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.5999, allocations: 152.1 kB / 1.486 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.6018, allocations: 283.9 kB / 1.486 GB, free: 9.348 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6032, allocations: 0.8018 MB / 1.487 GB, free: 8.504 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.6033, allocations: 74 kB / 1.487 GB, free: 8.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.6035, allocations: 91.94 kB / 1.487 GB, free: 8.34 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.6054, allocations: 1.003 MB / 1.488 GB, free: 7.301 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6054, allocations: 0 / 1.488 GB, free: 7.301 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.6055, allocations: 47.97 kB / 1.488 GB, free: 7.254 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.6055, allocations: 24 kB / 1.488 GB, free: 7.23 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.6077, allocations: 1.175 MB / 1.489 GB, free: 6.051 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/0.6128, allocations: 2.968 MB / 1.492 GB, free: 2.934 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.6153, allocations: 0.9224 MB / 1.493 GB, free: 1.984 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.616, allocations: 294.7 kB / 1.493 GB, free: 1.695 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.6161, allocations: 32.61 kB / 1.493 GB, free: 1.664 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.6171, allocations: 0.503 MB / 1.494 GB, free: 1.141 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.6171, allocations: 0 / 1.494 GB, free: 1.141 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003757/0.6208, allocations: 1.239 MB / 1.495 GB, free: 15.88 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.621, allocations: 192.6 kB / 1.495 GB, free: 15.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.6222, allocations: 0.6646 MB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.6224, allocations: 41.7 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.6228, allocations: 441 kB / 1.496 GB, free: 14.49 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.6232, allocations: 277.7 kB / 1.497 GB, free: 14.21 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.6234, allocations: 154.6 kB / 1.497 GB, free: 14.05 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.6237, allocations: 390.7 kB / 1.497 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/0.6243, allocations: 257.8 kB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.6251, allocations: 366.5 kB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.6265, allocations: 0.6033 MB / 1.498 GB, free: 12.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6265, allocations: 0 / 1.498 GB, free: 12.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002393/0.6288, allocations: 0.8296 MB / 1.499 GB, free: 11.58 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.6289, allocations: 4 kB / 1.499 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6289, allocations: 4 kB / 1.499 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/0.6295, allocations: 80.88 kB / 1.499 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.6303, allocations: 159.8 kB / 1.499 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.6328, allocations: 1.637 MB / 1.501 GB, free: 9.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6338, allocations: 105.5 kB / 1.501 GB, free: 9.449 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.6339, allocations: 27.98 kB / 1.501 GB, free: 9.422 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.000647/0.6346, allocations: 279.2 kB / 1.501 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.6349, allocations: 87.44 kB / 1.501 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.6378, allocations: 1.101 MB / 1.503 GB, free: 7.938 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6378, allocations: 8 kB / 1.503 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6378, allocations: 0 / 1.503 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.6378, allocations: 7.969 kB / 1.503 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.6419, allocations: 2.017 MB / 1.504 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6419, allocations: 0 / 1.504 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.6426, allocations: 151.8 kB / 1.505 GB, free: 5.691 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.6431, allocations: 68.8 kB / 1.505 GB, free: 5.621 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.6432, allocations: 39.91 kB / 1.505 GB, free: 5.582 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.6454, allocations: 1.658 MB / 1.506 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6454, allocations: 4.031 kB / 1.506 GB, free: 3.773 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.6479, allocations: 1.022 MB / 1.507 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.6485, allocations: 280.2 kB / 1.508 GB, free: 2.441 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.6486, allocations: 23.95 kB / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.6493, allocations: 63.92 kB / 1.508 GB, free: 2.355 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.6495, allocations: 80.83 kB / 1.508 GB, free: 2.277 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.6496, allocations: 39.86 kB / 1.508 GB, free: 2.238 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007433/0.6503, allocations: 491 kB / 1.508 GB, free: 1.766 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6503, allocations: 0 / 1.508 GB, free: 1.766 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001105/0.6514, allocations: 347.1 kB / 1.509 GB, free: 1.426 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.004895/0.6563, allocations: 2.082 MB / 1.511 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.6584, allocations: 0.7882 MB / 1.511 GB, free: 14.7 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6584, allocations: 4 kB / 1.511 GB, free: 14.7 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.6595, allocations: 0.5004 MB / 1.512 GB, free: 14.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.661, allocations: 303.3 kB / 1.512 GB, free: 13.9 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.674, allocations: 6.514 MB / 1.519 GB, free: 7.234 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/0.6748, allocations: 1.043 MB / 1.52 GB, free: 6.16 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001078/0.6759, allocations: 283 kB / 1.52 GB, free: 5.879 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.6766, allocations: 411.3 kB / 1.52 GB, free: 5.477 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/0.6766, allocations: 0 / 1.52 GB, free: 5.477 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/0.7429, allocations: 22.67 MB / 1.542 GB, free: 15.13 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.1, allocations: 4.969 kB / 1.542 GB, free: 15.13 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 & /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: 21.07738717389293]