Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001453/0.001453, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001668/0.001668, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.89/2.89, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [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.002132/0.002132, allocations: 65.28 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3479, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008351/0.3563, allocations: 4.652 MB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.534, allocations: 132.7 MB / 1.417 GB, free: 2.047 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.5352, allocations: 23.81 kB / 1.417 GB, free: 2.023 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.5363, allocations: 210.1 kB / 1.417 GB, free: 1.816 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.5389, allocations: 0.5926 MB / 1.418 GB, free: 1.223 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.5419, allocations: 0.8623 MB / 1.419 GB, free: 376 kB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.5445, allocations: 1.475 MB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.5457, allocations: 448.5 kB / 1.421 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5468, allocations: 0.5451 MB / 1.421 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.5479, allocations: 497.6 kB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.5483, allocations: 132 kB / 1.422 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.5498, allocations: 0.4957 MB / 1.422 GB, free: 12.76 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.5503, allocations: 322.9 kB / 1.423 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.5512, allocations: 0.5016 MB / 1.423 GB, free: 11.94 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.5545, allocations: 1.79 MB / 1.425 GB, free: 10.14 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5545, allocations: 0 / 1.425 GB, free: 10.14 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5545, allocations: 0 / 1.425 GB, free: 10.14 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001042/0.5546, allocations: 3.938 kB / 1.425 GB, free: 10.14 MB / 1.123 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.005325/0.5599, allocations: 1.485 MB / 1.426 GB, free: 8.621 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5599, allocations: 12.03 kB / 1.426 GB, free: 8.609 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.5623, allocations: 279.9 kB / 1.427 GB, free: 8.336 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.5641, allocations: 0.7298 MB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.5642, allocations: 70 kB / 1.427 GB, free: 7.508 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.5644, allocations: 88 kB / 1.427 GB, free: 7.422 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.5668, allocations: 1.258 MB / 1.429 GB, free: 6.066 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.5668, allocations: 4 kB / 1.429 GB, free: 6.062 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.5669, allocations: 43.98 kB / 1.429 GB, free: 6.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.567, allocations: 24 kB / 1.429 GB, free: 5.996 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.5695, allocations: 1.132 MB / 1.43 GB, free: 4.863 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/0.5754, allocations: 2.181 MB / 1.432 GB, free: 2.633 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.5781, allocations: 0.8494 MB / 1.433 GB, free: 1.773 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.5787, allocations: 290.7 kB / 1.433 GB, free: 1.488 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.96e-05/0.5788, allocations: 24.62 kB / 1.433 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.5799, allocations: 0.5998 MB / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 3.897e-06/0.5799, allocations: 0 / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003563/0.5835, allocations: 1.154 MB / 1.435 GB, free: 15.65 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.5836, allocations: 188.6 kB / 1.435 GB, free: 15.43 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.5847, allocations: 0.6017 MB / 1.436 GB, free: 14.81 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.105e-05/0.5848, allocations: 41.7 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.5852, allocations: 444.9 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.5855, allocations: 277.6 kB / 1.436 GB, free: 14.05 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.5858, allocations: 166.6 kB / 1.436 GB, free: 13.88 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.586, allocations: 382.7 kB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.5867, allocations: 277.8 kB / 1.437 GB, free: 13.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.5875, allocations: 0.4957 MB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.5889, allocations: 0.6189 MB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5889, allocations: 0 / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002309/0.5912, allocations: 0.8765 MB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5912, allocations: 7.938 kB / 1.439 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5912, allocations: 7.938 kB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/0.5918, allocations: 84.86 kB / 1.439 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.5926, allocations: 167.8 kB / 1.439 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.5949, allocations: 1.496 MB / 1.441 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.5957, allocations: 87.66 kB / 1.441 GB, free: 9.215 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-05/0.5958, allocations: 43.97 kB / 1.441 GB, free: 9.172 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (96): * Single equations (assignments): 95 * 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.0005991/0.5964, allocations: 271.4 kB / 1.441 GB, free: 8.898 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.5966, allocations: 83.48 kB / 1.441 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.5994, allocations: 1.093 MB / 1.442 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.5994, allocations: 15.94 kB / 1.442 GB, free: 7.695 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5994, allocations: 0 / 1.442 GB, free: 7.695 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5994, allocations: 3.984 kB / 1.442 GB, free: 7.691 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.6033, allocations: 1.747 MB / 1.444 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6033, allocations: 0 / 1.444 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.604, allocations: 151.8 kB / 1.444 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.6044, allocations: 72.78 kB / 1.444 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.6045, allocations: 27.97 kB / 1.444 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.6067, allocations: 1.52 MB / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6067, allocations: 0 / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.6092, allocations: 1.022 MB / 1.447 GB, free: 2.984 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/0.6098, allocations: 199.1 kB / 1.447 GB, free: 2.789 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.61, allocations: 16 kB / 1.447 GB, free: 2.773 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.6108, allocations: 71.98 kB / 1.447 GB, free: 2.703 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.611, allocations: 76.86 kB / 1.447 GB, free: 2.629 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.6111, allocations: 35.97 kB / 1.447 GB, free: 2.594 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007322/0.6118, allocations: 435 kB / 1.448 GB, free: 2.176 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6118, allocations: 4 kB / 1.448 GB, free: 2.172 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001203/0.613, allocations: 355 kB / 1.448 GB, free: 1.824 MB / 1.139 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.002346/0.6154, allocations: 0.637 MB / 1.448 GB, free: 1.387 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.6176, allocations: 0.8272 MB / 1.449 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6176, allocations: 0 / 1.449 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.6188, allocations: 0.5042 MB / 1.45 GB, free: 36 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.6203, allocations: 296.5 kB / 1.45 GB, free: 15.76 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.6245, allocations: 1.756 MB / 1.452 GB, free: 13.98 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.6252, allocations: 463.2 kB / 1.452 GB, free: 13.5 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009872/0.6261, allocations: 274.4 kB / 1.452 GB, free: 13.22 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.6265, allocations: 111.3 kB / 1.453 GB, free: 13.11 MB / 1.154 GB Notification: Performance of SimCode: time 1.272e-06/0.6265, allocations: 0 / 1.453 GB, free: 13.11 MB / 1.154 GB Notification: Performance of Templates: time 0.0322/0.6587, allocations: 16.62 MB / 1.469 GB, free: 12.77 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.996481230482459]