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.001881/0.001881, 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.002452/0.002452, allocations: 211.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.668/1.668, allocations: 230.6 MB / 256 MB, free: 7.781 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.327/3.327, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_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_12_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.003009/0.003009, allocations: 69.69 kB / 1.154 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3734, allocations: 176.1 MB / 1.326 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007722/0.3811, allocations: 4.655 MB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1875/0.5685, allocations: 132.7 MB / 1.46 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009413/0.5695, allocations: 23.81 kB / 1.46 GB, free: 7.809 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.5701, allocations: 214.1 kB / 1.46 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.5722, allocations: 0.5854 MB / 1.46 GB, free: 7.012 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.5744, allocations: 0.8685 MB / 1.461 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.5762, allocations: 1.46 MB / 1.463 GB, free: 4.684 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.577, allocations: 448.5 kB / 1.463 GB, free: 4.219 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008484/0.5779, allocations: 0.5412 MB / 1.464 GB, free: 3.676 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.5786, allocations: 0.4976 MB / 1.464 GB, free: 3.176 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.5788, allocations: 128 kB / 1.464 GB, free: 3.051 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.5799, allocations: 499.6 kB / 1.465 GB, free: 2.562 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.5802, allocations: 327 kB / 1.465 GB, free: 2.242 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.5807, allocations: 0.4938 MB / 1.466 GB, free: 1.746 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.583, allocations: 1.79 MB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.583, allocations: 7.984 kB / 1.467 GB, free: 15.94 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.674e-06/0.583, allocations: 4 kB / 1.467 GB, free: 15.94 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.583, allocations: 4 kB / 1.467 GB, free: 15.93 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.00279/0.5858, allocations: 1.481 MB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5858, allocations: 12.03 kB / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.5877, allocations: 271.9 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5892, allocations: 0.7298 MB / 1.47 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.5893, allocations: 77.94 kB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5894, allocations: 91.98 kB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.5914, allocations: 1.258 MB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5914, allocations: 0 / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/0.5915, allocations: 44 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.5915, allocations: 23.98 kB / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.5936, allocations: 1.136 MB / 1.472 GB, free: 10.65 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.5979, allocations: 2.162 MB / 1.474 GB, free: 8.441 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.6004, allocations: 0.8501 MB / 1.475 GB, free: 7.582 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.601, allocations: 290.7 kB / 1.476 GB, free: 7.293 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.099e-05/0.6011, allocations: 24.64 kB / 1.476 GB, free: 7.27 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.6021, allocations: 0.6004 MB / 1.476 GB, free: 6.629 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.6021, allocations: 0 / 1.476 GB, free: 6.629 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003591/0.6057, allocations: 1.15 MB / 1.477 GB, free: 5.469 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6059, allocations: 196.6 kB / 1.477 GB, free: 5.234 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.6068, allocations: 0.6016 MB / 1.478 GB, free: 4.625 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.6069, allocations: 45.64 kB / 1.478 GB, free: 4.574 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.6074, allocations: 437 kB / 1.479 GB, free: 4.141 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.6077, allocations: 281.6 kB / 1.479 GB, free: 3.863 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.6079, allocations: 170.6 kB / 1.479 GB, free: 3.691 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.6082, allocations: 378.8 kB / 1.479 GB, free: 3.312 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.6088, allocations: 273.8 kB / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.6096, allocations: 0.5035 MB / 1.48 GB, free: 2.496 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.6109, allocations: 0.619 MB / 1.481 GB, free: 1.867 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6109, allocations: 3.938 kB / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002236/0.6132, allocations: 0.8726 MB / 1.482 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6132, allocations: 7.938 kB / 1.482 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.6132, allocations: 0 / 1.482 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.6138, allocations: 80.88 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.6145, allocations: 171.7 kB / 1.482 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.617, allocations: 1.504 MB / 1.483 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.6178, allocations: 89.44 kB / 1.483 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.6179, allocations: 39.97 kB / 1.483 GB, free: 14.99 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: 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.000653/0.6185, allocations: 279.6 kB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.6187, allocations: 83.48 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.6213, allocations: 1.089 MB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6214, allocations: 11.94 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6214, allocations: 4 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.6214, allocations: 7.969 kB / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.6249, allocations: 1.736 MB / 1.486 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6249, allocations: 0 / 1.486 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.6255, allocations: 159.8 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.6259, allocations: 68.8 kB / 1.487 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.626, allocations: 27.97 kB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.628, allocations: 1.512 MB / 1.488 GB, free: 9.84 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.628, allocations: 4.062 kB / 1.488 GB, free: 9.836 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.6303, allocations: 1.033 MB / 1.489 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.6308, allocations: 191.1 kB / 1.489 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.631, allocations: 27.98 kB / 1.489 GB, free: 8.566 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/0.6317, allocations: 59.94 kB / 1.489 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.6318, allocations: 80.84 kB / 1.49 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.6319, allocations: 35.98 kB / 1.49 GB, free: 8.395 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000666/0.6326, allocations: 439 kB / 1.49 GB, free: 7.973 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6326, allocations: 0 / 1.49 GB, free: 7.973 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001076/0.6336, allocations: 351 kB / 1.49 GB, free: 7.629 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.002192/0.6358, allocations: 0.6504 MB / 1.491 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.6379, allocations: 0.8273 MB / 1.492 GB, free: 6.34 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6379, allocations: 4 kB / 1.492 GB, free: 6.336 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.639, allocations: 0.4964 MB / 1.492 GB, free: 5.828 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6405, allocations: 296.4 kB / 1.493 GB, free: 5.562 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.6458, allocations: 1.762 MB / 1.494 GB, free: 3.773 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.6464, allocations: 461.4 kB / 1.495 GB, free: 3.293 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009708/0.6474, allocations: 278.3 kB / 1.495 GB, free: 3.016 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.6477, allocations: 111.4 kB / 1.495 GB, free: 2.906 MB / 1.186 GB Notification: Performance of SimCode: time 2.104e-06/0.6477, allocations: 0 / 1.495 GB, free: 2.906 MB / 1.186 GB Notification: Performance of Templates: time 0.03112/0.6788, allocations: 16.63 MB / 1.511 GB, free: 2.547 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.472287787124515]