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.001753/0.001753, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002124/0.002124, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.03/3.03, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_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.001977/0.001977, allocations: 63.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8908/0.8928, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006003/0.8988, allocations: 5.204 MB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2067/1.105, allocations: 154 MB / 1.496 GB, free: 8.055 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/1.107, allocations: 24.03 kB / 1.496 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/1.107, allocations: 200 kB / 1.496 GB, free: 7.867 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/1.11, allocations: 0.5811 MB / 1.496 GB, free: 7.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/1.112, allocations: 0.8692 MB / 1.497 GB, free: 6.773 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002378/1.115, allocations: 1.462 MB / 1.499 GB, free: 5.859 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/1.116, allocations: 479.9 kB / 1.499 GB, free: 5.375 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/1.117, allocations: 0.5412 MB / 1.5 GB, free: 4.832 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/1.118, allocations: 0.5562 MB / 1.5 GB, free: 4.273 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/1.118, allocations: 128 kB / 1.5 GB, free: 4.148 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/1.119, allocations: 0.5152 MB / 1.501 GB, free: 3.633 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/1.12, allocations: 326.9 kB / 1.501 GB, free: 3.312 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006672/1.12, allocations: 0.6141 MB / 1.502 GB, free: 2.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/1.123, allocations: 1.786 MB / 1.503 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.123, allocations: 0 / 1.503 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.733e-06/1.123, allocations: 4 kB / 1.503 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.144e-05/1.123, allocations: 3.938 kB / 1.503 GB, free: 0.8945 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.002965/1.126, allocations: 1.564 MB / 1.505 GB, free: 15.28 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.126, allocations: 8.031 kB / 1.505 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.745e-05/1.126, allocations: 26.19 kB / 1.505 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/1.126, allocations: 152.1 kB / 1.505 GB, free: 15.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.128, allocations: 283.9 kB / 1.505 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.13, allocations: 0.8016 MB / 1.506 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/1.13, allocations: 77.98 kB / 1.506 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.13, allocations: 88 kB / 1.506 GB, free: 13.8 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/1.132, allocations: 1.003 MB / 1.507 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.132, allocations: 3.938 kB / 1.507 GB, free: 12.76 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.8e-05/1.132, allocations: 44 kB / 1.507 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/1.132, allocations: 24 kB / 1.507 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/1.134, allocations: 1.171 MB / 1.509 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/1.139, allocations: 2.983 MB / 1.512 GB, free: 8.395 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/1.142, allocations: 0.9225 MB / 1.512 GB, free: 7.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/1.142, allocations: 290.7 kB / 1.513 GB, free: 7.164 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/1.142, allocations: 36.59 kB / 1.513 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/1.144, allocations: 0.4969 MB / 1.513 GB, free: 6.613 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/1.144, allocations: 0 / 1.513 GB, free: 6.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003656/1.147, allocations: 1.241 MB / 1.514 GB, free: 5.348 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/1.147, allocations: 188.6 kB / 1.515 GB, free: 5.121 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/1.148, allocations: 0.6685 MB / 1.515 GB, free: 4.441 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.377e-05/1.148, allocations: 41.7 kB / 1.515 GB, free: 4.395 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/1.149, allocations: 433 kB / 1.516 GB, free: 3.965 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/1.149, allocations: 289.5 kB / 1.516 GB, free: 3.68 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/1.149, allocations: 150.6 kB / 1.516 GB, free: 3.527 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.15, allocations: 390.8 kB / 1.516 GB, free: 3.137 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/1.15, allocations: 253.9 kB / 1.517 GB, free: 2.887 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/1.151, allocations: 366.5 kB / 1.517 GB, free: 2.508 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.152, allocations: 0.6033 MB / 1.518 GB, free: 1.891 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.152, allocations: 0 / 1.518 GB, free: 1.891 MB / 1.186 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002247/1.155, allocations: 0.8335 MB / 1.518 GB, free: 1.047 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.155, allocations: 4 kB / 1.518 GB, free: 1.043 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.155, allocations: 4 kB / 1.519 GB, free: 1.039 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/1.155, allocations: 88.8 kB / 1.519 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/1.156, allocations: 151.8 kB / 1.519 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/1.159, allocations: 1.635 MB / 1.52 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/1.159, allocations: 91.53 kB / 1.52 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/1.16, allocations: 35.97 kB / 1.52 GB, free: 14.89 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.0005861/1.16, allocations: 271.4 kB / 1.521 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/1.16, allocations: 91.48 kB / 1.521 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/1.163, allocations: 1.101 MB / 1.522 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/1.163, allocations: 8 kB / 1.522 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.163, allocations: 4 kB / 1.522 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.163, allocations: 7.984 kB / 1.522 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/1.167, allocations: 2.021 MB / 1.524 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.167, allocations: 0 / 1.524 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/1.168, allocations: 151.8 kB / 1.524 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/1.168, allocations: 72.78 kB / 1.524 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/1.168, allocations: 27.98 kB / 1.524 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/1.17, allocations: 1.658 MB / 1.526 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.17, allocations: 4.031 kB / 1.526 GB, free: 9.254 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/1.173, allocations: 1.026 MB / 1.527 GB, free: 8.211 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/1.173, allocations: 288.1 kB / 1.527 GB, free: 7.91 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.174, allocations: 19.94 kB / 1.527 GB, free: 7.891 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/1.174, allocations: 67.88 kB / 1.527 GB, free: 7.824 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/1.174, allocations: 80.83 kB / 1.527 GB, free: 7.742 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/1.175, allocations: 39.97 kB / 1.527 GB, free: 7.703 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000685/1.175, allocations: 487 kB / 1.528 GB, free: 7.234 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.175, allocations: 0 / 1.528 GB, free: 7.234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001024/1.176, allocations: 335.1 kB / 1.528 GB, free: 6.906 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.004758/1.181, allocations: 2.076 MB / 1.53 GB, free: 4.984 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002141/1.183, allocations: 0.7921 MB / 1.531 GB, free: 4.18 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.183, allocations: 0 / 1.531 GB, free: 4.18 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.184, allocations: 0.5004 MB / 1.531 GB, free: 3.672 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.186, allocations: 303 kB / 1.532 GB, free: 3.391 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.199, allocations: 6.53 MB / 1.538 GB, free: 12.71 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/1.2, allocations: 1.047 MB / 1.539 GB, free: 11.63 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009705/1.201, allocations: 271 kB / 1.539 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006909/1.201, allocations: 411.2 kB / 1.54 GB, free: 10.96 MB / 1.217 GB Notification: Performance of SimCode: time 1.212e-06/1.201, allocations: 0 / 1.54 GB, free: 10.96 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05844/1.26, allocations: 22.73 MB / 1.562 GB, free: 4.609 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.28, allocations: 3.859 kB / 1.562 GB, free: 4.605 MB / 1.232 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 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.mat","/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: 22.017609267961234]