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.001311/0.001311, allocations: 116.8 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.001498/0.001498, allocations: 209.6 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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="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.002045/0.002045, allocations: 67.91 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9926/0.9946, allocations: 176.1 MB / 1.321 GB, free: 24.95 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005861/1, allocations: 5.202 MB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1991/1.2, allocations: 154 MB / 1.477 GB, free: 4.254 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/1.201, allocations: 23.66 kB / 1.477 GB, free: 4.242 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009129/1.202, allocations: 212 kB / 1.477 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/1.204, allocations: 0.5807 MB / 1.478 GB, free: 3.617 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/1.207, allocations: 0.8643 MB / 1.479 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002426/1.209, allocations: 1.466 MB / 1.48 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009946/1.21, allocations: 470.3 kB / 1.48 GB, free: 1.711 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/1.211, allocations: 0.5474 MB / 1.481 GB, free: 1.383 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/1.212, allocations: 0.5521 MB / 1.482 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/1.212, allocations: 129 kB / 1.482 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/1.214, allocations: 0.5145 MB / 1.482 GB, free: 0.793 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004553/1.214, allocations: 321.4 kB / 1.482 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/1.215, allocations: 0.6149 MB / 1.483 GB, free: 88 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002992/1.218, allocations: 1.791 MB / 1.485 GB, free: 14.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.218, allocations: 3.938 kB / 1.485 GB, free: 14.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.552e-06/1.218, allocations: 0 / 1.485 GB, free: 14.79 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.25e-05/1.219, allocations: 1.406 kB / 1.485 GB, free: 14.79 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.004016/1.223, allocations: 1.563 MB / 1.486 GB, free: 13.56 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.223, allocations: 13.64 kB / 1.486 GB, free: 13.55 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.523e-05/1.223, allocations: 25.44 kB / 1.486 GB, free: 13.55 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/1.223, allocations: 148.6 kB / 1.487 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.225, allocations: 283.7 kB / 1.487 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/1.226, allocations: 0.8052 MB / 1.488 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/1.227, allocations: 79.8 kB / 1.488 GB, free: 12.6 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.227, allocations: 89.16 kB / 1.488 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.229, allocations: 1.007 MB / 1.489 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.229, allocations: 3.938 kB / 1.489 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.229, allocations: 41.28 kB / 1.489 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/1.229, allocations: 24.03 kB / 1.489 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/1.231, allocations: 1.176 MB / 1.49 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/1.236, allocations: 2.967 MB / 1.493 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/1.238, allocations: 0.9279 MB / 1.494 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/1.239, allocations: 285.8 kB / 1.494 GB, free: 8.254 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.473e-05/1.239, allocations: 36.06 kB / 1.494 GB, free: 8.234 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/1.24, allocations: 0.4971 MB / 1.495 GB, free: 7.91 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/1.24, allocations: 1.312 kB / 1.495 GB, free: 7.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003737/1.244, allocations: 1.239 MB / 1.496 GB, free: 6.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.244, allocations: 196.6 kB / 1.496 GB, free: 6.426 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.245, allocations: 0.6607 MB / 1.497 GB, free: 5.758 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.861e-05/1.245, allocations: 45.7 kB / 1.497 GB, free: 5.707 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/1.246, allocations: 437 kB / 1.497 GB, free: 5.273 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.246, allocations: 281.6 kB / 1.497 GB, free: 4.996 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.246, allocations: 154.6 kB / 1.497 GB, free: 4.84 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.246, allocations: 386.8 kB / 1.498 GB, free: 4.453 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/1.247, allocations: 257.9 kB / 1.498 GB, free: 4.199 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/1.248, allocations: 370.4 kB / 1.498 GB, free: 3.812 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.249, allocations: 0.5994 MB / 1.499 GB, free: 3.199 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.249, allocations: 4 kB / 1.499 GB, free: 3.195 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002238/1.251, allocations: 0.8296 MB / 1.5 GB, free: 2.359 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.251, allocations: 5.562 kB / 1.5 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.251, allocations: 0 / 1.5 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/1.252, allocations: 88.8 kB / 1.5 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/1.253, allocations: 155.8 kB / 1.5 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/1.255, allocations: 1.63 MB / 1.502 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.256, allocations: 91.5 kB / 1.502 GB, free: 252 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.256, allocations: 31.97 kB / 1.502 GB, free: 220 kB / 1.17 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.0008271/1.257, allocations: 275.7 kB / 1.502 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/1.257, allocations: 95.42 kB / 1.502 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.26, allocations: 1.105 MB / 1.503 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.26, allocations: 8 kB / 1.503 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.26, allocations: 0 / 1.503 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.26, allocations: 3.984 kB / 1.503 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/1.265, allocations: 2.025 MB / 1.505 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.265, allocations: 0 / 1.505 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/1.265, allocations: 151.8 kB / 1.505 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/1.266, allocations: 76.72 kB / 1.505 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/1.266, allocations: 23.98 kB / 1.505 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/1.268, allocations: 1.654 MB / 1.507 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.268, allocations: 8.062 kB / 1.507 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/1.27, allocations: 1.03 MB / 1.508 GB, free: 9.516 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/1.271, allocations: 288.2 kB / 1.508 GB, free: 9.215 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/1.271, allocations: 23.89 kB / 1.508 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008601/1.272, allocations: 63.94 kB / 1.508 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/1.272, allocations: 80.83 kB / 1.509 GB, free: 9.047 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/1.272, allocations: 31.97 kB / 1.509 GB, free: 9.016 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008119/1.273, allocations: 491 kB / 1.509 GB, free: 8.539 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.273, allocations: 3.938 kB / 1.509 GB, free: 8.535 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001155/1.274, allocations: 335.1 kB / 1.509 GB, free: 8.207 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.004723/1.279, allocations: 2.083 MB / 1.511 GB, free: 6.285 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001972/1.281, allocations: 0.7923 MB / 1.512 GB, free: 5.477 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.281, allocations: 0 / 1.512 GB, free: 5.477 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.282, allocations: 0.5041 MB / 1.513 GB, free: 4.965 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.284, allocations: 301.1 kB / 1.513 GB, free: 4.688 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/1.296, allocations: 6.524 MB / 1.519 GB, free: 14.02 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008363/1.297, allocations: 1.048 MB / 1.52 GB, free: 12.94 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009594/1.298, allocations: 267 kB / 1.521 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/1.299, allocations: 419.2 kB / 1.521 GB, free: 12.26 MB / 1.201 GB Notification: Performance of SimCode: time 1.163e-06/1.299, allocations: 0 / 1.521 GB, free: 12.26 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/1.361, allocations: 22.72 MB / 1.543 GB, free: 5.906 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.07, allocations: 15.81 kB / 1.543 GB, free: 5.895 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.756408658984583]