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.001303/0.001303, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001544/0.001544, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.969 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.2/3.2, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002026/0.002026, allocations: 68.25 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3781, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007992/0.3861, allocations: 5.229 MB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1998/0.586, allocations: 154.2 MB / 1.482 GB, free: 1.934 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.587, allocations: 23.81 kB / 1.482 GB, free: 1.91 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007055/0.5877, allocations: 206.1 kB / 1.482 GB, free: 1.707 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.5897, allocations: 0.5859 MB / 1.482 GB, free: 1.121 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.592, allocations: 0.8834 MB / 1.483 GB, free: 248 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5938, allocations: 1.471 MB / 1.485 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.5947, allocations: 464.6 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.5955, allocations: 0.5528 MB / 1.486 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007232/0.5962, allocations: 0.5562 MB / 1.486 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.5964, allocations: 128 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.5976, allocations: 0.5191 MB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.5979, allocations: 323 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006555/0.5986, allocations: 0.6142 MB / 1.488 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.601, allocations: 1.79 MB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.601, allocations: 0 / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.583e-06/0.601, allocations: 0 / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.601, allocations: 4 kB / 1.489 GB, free: 9.793 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.002868/0.6039, allocations: 1.489 MB / 1.491 GB, free: 8.266 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.6039, allocations: 8.031 kB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.6041, allocations: 148.1 kB / 1.491 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.6059, allocations: 279.9 kB / 1.491 GB, free: 7.832 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.6073, allocations: 0.7336 MB / 1.492 GB, free: 7.074 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.6074, allocations: 82 kB / 1.492 GB, free: 6.992 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6075, allocations: 91.98 kB / 1.492 GB, free: 6.902 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.6094, allocations: 1.011 MB / 1.493 GB, free: 5.855 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.6094, allocations: 0 / 1.493 GB, free: 5.855 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6095, allocations: 40 kB / 1.493 GB, free: 5.816 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.6096, allocations: 24 kB / 1.493 GB, free: 5.793 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.6116, allocations: 1.171 MB / 1.494 GB, free: 4.617 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.6166, allocations: 2.918 MB / 1.497 GB, free: 1.551 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.619, allocations: 0.8533 MB / 1.498 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.6196, allocations: 290.6 kB / 1.498 GB, free: 412 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.555e-05/0.6197, allocations: 32.61 kB / 1.498 GB, free: 380 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000997/0.6207, allocations: 0.5031 MB / 1.499 GB, free: 15.85 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 2.945e-06/0.6207, allocations: 0 / 1.499 GB, free: 15.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003391/0.6241, allocations: 1.163 MB / 1.5 GB, free: 14.68 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.6242, allocations: 192.6 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/0.6251, allocations: 0.6646 MB / 1.501 GB, free: 13.78 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.6252, allocations: 45.64 kB / 1.501 GB, free: 13.73 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.6256, allocations: 441 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.6259, allocations: 277.7 kB / 1.502 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.6261, allocations: 146.6 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.6263, allocations: 386.8 kB / 1.502 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.6269, allocations: 257.9 kB / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.6275, allocations: 370.5 kB / 1.503 GB, free: 11.84 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.6287, allocations: 0.5995 MB / 1.503 GB, free: 11.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6287, allocations: 3.938 kB / 1.503 GB, free: 11.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002022/0.6307, allocations: 0.8335 MB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.6308, allocations: 9.719 kB / 1.504 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6308, allocations: 0 / 1.504 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.6314, allocations: 84.86 kB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.6321, allocations: 159.7 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.6343, allocations: 1.527 MB / 1.506 GB, free: 8.484 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.635, allocations: 103.5 kB / 1.506 GB, free: 8.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.6351, allocations: 31.97 kB / 1.506 GB, free: 8.352 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.0004899/0.6356, allocations: 271.4 kB / 1.506 GB, free: 8.078 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6357, allocations: 91.42 kB / 1.506 GB, free: 7.988 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.6382, allocations: 1.101 MB / 1.507 GB, free: 6.871 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.6382, allocations: 12 kB / 1.507 GB, free: 6.859 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.6382, allocations: 0 / 1.507 GB, free: 6.859 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6383, allocations: 3.984 kB / 1.507 GB, free: 6.855 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.6418, allocations: 1.997 MB / 1.509 GB, free: 4.805 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6418, allocations: 0 / 1.509 GB, free: 4.805 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.6424, allocations: 147.8 kB / 1.509 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.6428, allocations: 72.78 kB / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.6429, allocations: 27.92 kB / 1.51 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.6449, allocations: 1.562 MB / 1.511 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6449, allocations: 4.062 kB / 1.511 GB, free: 2.871 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.6471, allocations: 1.022 MB / 1.512 GB, free: 1.828 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.6476, allocations: 215 kB / 1.512 GB, free: 1.617 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.6477, allocations: 20 kB / 1.512 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.6484, allocations: 67.92 kB / 1.512 GB, free: 1.531 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.6485, allocations: 72.86 kB / 1.512 GB, free: 1.461 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.6486, allocations: 39.92 kB / 1.512 GB, free: 1.422 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006318/0.6492, allocations: 487 kB / 1.513 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6492, allocations: 0 / 1.513 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008815/0.6501, allocations: 339.1 kB / 1.513 GB, free: 0.6211 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.004186/0.6543, allocations: 2.088 MB / 1.515 GB, free: 14.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.656, allocations: 0.8001 MB / 1.516 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.656, allocations: 0 / 1.516 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.657, allocations: 0.5002 MB / 1.517 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6583, allocations: 303.9 kB / 1.517 GB, free: 13.09 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.6703, allocations: 6.52 MB / 1.523 GB, free: 6.418 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.6712, allocations: 1.047 MB / 1.524 GB, free: 5.34 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009121/0.6721, allocations: 263.1 kB / 1.525 GB, free: 5.078 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/0.6727, allocations: 419.2 kB / 1.525 GB, free: 4.668 MB / 1.217 GB Notification: Performance of SimCode: time 1.212e-06/0.6727, allocations: 0 / 1.525 GB, free: 4.668 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06535/0.7381, allocations: 23.23 MB / 1.548 GB, free: 13.68 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.31, allocations: 0 / 1.548 GB, free: 13.68 MB / 1.248 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 & 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.2778796470011]