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.001322/0.001322, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001457/0.001457, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.065/3.065, allocations: 0.49 GB / 0.7959 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",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.001935/0.001935, allocations: 63.55 kB / 1.155 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3143, allocations: 176.1 MB / 1.327 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00671/0.321, allocations: 4.662 MB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.4844, allocations: 132.6 MB / 1.461 GB, free: 7.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008692/0.4853, allocations: 23.81 kB / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.486, allocations: 210.1 kB / 1.461 GB, free: 7.641 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.4879, allocations: 0.5826 MB / 1.461 GB, free: 7.059 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.49, allocations: 0.8754 MB / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.4918, allocations: 1.464 MB / 1.464 GB, free: 4.723 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.4926, allocations: 476.5 kB / 1.464 GB, free: 4.234 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.4933, allocations: 0.545 MB / 1.465 GB, free: 3.688 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.494, allocations: 0.5523 MB / 1.465 GB, free: 3.133 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.4942, allocations: 128 kB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4954, allocations: 0.5036 MB / 1.466 GB, free: 2.504 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.4957, allocations: 327 kB / 1.466 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006169/0.4964, allocations: 0.4976 MB / 1.467 GB, free: 1.684 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.499, allocations: 1.794 MB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.499, allocations: 4 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4991, allocations: 0 / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.4991, allocations: 0 / 1.468 GB, free: 15.88 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.002959/0.502, allocations: 1.493 MB / 1.47 GB, free: 14.35 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.5021, allocations: 12.03 kB / 1.47 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.174e-05/0.5021, allocations: 22.19 kB / 1.47 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.5023, allocations: 152.1 kB / 1.47 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.5043, allocations: 279.9 kB / 1.47 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.5056, allocations: 0.7372 MB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.5057, allocations: 70 kB / 1.471 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.5058, allocations: 88 kB / 1.471 GB, free: 12.97 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.5077, allocations: 1.262 MB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5078, allocations: 4 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.5079, allocations: 36 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.5079, allocations: 28 kB / 1.472 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.5099, allocations: 1.171 MB / 1.474 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.5142, allocations: 2.321 MB / 1.476 GB, free: 7.984 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.5165, allocations: 0.848 MB / 1.477 GB, free: 7.125 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.5171, allocations: 286.7 kB / 1.477 GB, free: 6.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.5172, allocations: 24.64 kB / 1.477 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.5182, allocations: 0.5995 MB / 1.478 GB, free: 6.176 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/0.5182, allocations: 0 / 1.478 GB, free: 6.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003325/0.5215, allocations: 1.159 MB / 1.479 GB, free: 5.008 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.5216, allocations: 200.6 kB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008687/0.5225, allocations: 0.6607 MB / 1.48 GB, free: 4.102 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.5226, allocations: 45.7 kB / 1.48 GB, free: 4.051 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.5229, allocations: 441 kB / 1.48 GB, free: 3.613 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5232, allocations: 277.6 kB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.5234, allocations: 154.5 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5236, allocations: 390.8 kB / 1.481 GB, free: 2.793 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.5241, allocations: 253.9 kB / 1.481 GB, free: 2.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.5249, allocations: 0.4913 MB / 1.482 GB, free: 1.996 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.526, allocations: 0.5955 MB / 1.482 GB, free: 1.391 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.526, allocations: 4 kB / 1.482 GB, free: 1.387 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002077/0.5281, allocations: 0.8335 MB / 1.483 GB, free: 0.543 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5281, allocations: 4 kB / 1.483 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5281, allocations: 0 / 1.483 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.5288, allocations: 80.88 kB / 1.483 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.5295, allocations: 155.8 kB / 1.483 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.5316, allocations: 1.533 MB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.5323, allocations: 97.8 kB / 1.485 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.5324, allocations: 36.11 kB / 1.485 GB, free: 14.53 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.0004923/0.5329, allocations: 269.6 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5331, allocations: 91.42 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.5356, allocations: 1.105 MB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.5356, allocations: 8 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5356, allocations: 0 / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5357, allocations: 3.984 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.5391, allocations: 1.864 MB / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5392, allocations: 0 / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.5398, allocations: 151.8 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.5402, allocations: 68.78 kB / 1.488 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.5403, allocations: 31.97 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.5423, allocations: 1.551 MB / 1.49 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5423, allocations: 0 / 1.49 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.5445, allocations: 1.034 MB / 1.491 GB, free: 8.141 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.5449, allocations: 203.1 kB / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.545, allocations: 24 kB / 1.491 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.5457, allocations: 67.92 kB / 1.491 GB, free: 7.852 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.5459, allocations: 76.8 kB / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/0.546, allocations: 35.97 kB / 1.491 GB, free: 7.742 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006352/0.5466, allocations: 483 kB / 1.492 GB, free: 7.273 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5466, allocations: 3.938 kB / 1.492 GB, free: 7.27 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009299/0.5475, allocations: 347 kB / 1.492 GB, free: 6.93 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.004458/0.552, allocations: 2.117 MB / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.5538, allocations: 0.7961 MB / 1.495 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5538, allocations: 0 / 1.495 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009762/0.5548, allocations: 0.5042 MB / 1.495 GB, free: 3.664 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5561, allocations: 309.3 kB / 1.496 GB, free: 3.387 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.5674, allocations: 6.522 MB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.5679, allocations: 461.7 kB / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008957/0.5688, allocations: 271.1 kB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.5694, allocations: 411.3 kB / 1.503 GB, free: 11.56 MB / 1.201 GB Notification: Performance of SimCode: time 1.302e-06/0.5694, allocations: 0 / 1.503 GB, free: 11.56 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05649/0.6259, allocations: 24.06 MB / 1.527 GB, free: 3.863 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.08, allocations: 13.44 kB / 1.527 GB, free: 3.855 MB / 1.217 GB " [Timeout remaining time 285] (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.89118775294628]