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.001823/0.001823, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002162/0.002162, allocations: 215.5 kB / 23 MB, free: 4.965 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.243/3.243, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.002092/0.002092, allocations: 69.8 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007329/0.3797, allocations: 4.66 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.5584, allocations: 132.7 MB / 1.461 GB, free: 7.129 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.5593, allocations: 23.81 kB / 1.461 GB, free: 7.105 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.56, allocations: 202.1 kB / 1.461 GB, free: 6.906 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.5621, allocations: 0.5867 MB / 1.462 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.5645, allocations: 0.874 MB / 1.463 GB, free: 5.453 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002456/0.5669, allocations: 1.479 MB / 1.464 GB, free: 3.969 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000921/0.5678, allocations: 460.6 kB / 1.465 GB, free: 3.492 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009436/0.5688, allocations: 0.5412 MB / 1.465 GB, free: 2.949 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007335/0.5695, allocations: 0.5562 MB / 1.466 GB, free: 2.391 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.5697, allocations: 128 kB / 1.466 GB, free: 2.266 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5708, allocations: 0.5074 MB / 1.466 GB, free: 1.758 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.5711, allocations: 323 kB / 1.467 GB, free: 1.441 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.5717, allocations: 0.4937 MB / 1.467 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.5741, allocations: 1.794 MB / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5741, allocations: 0 / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5741, allocations: 0 / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.5741, allocations: 0 / 1.469 GB, free: 15.14 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.002954/0.5771, allocations: 1.489 MB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5771, allocations: 8.031 kB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.5791, allocations: 283.9 kB / 1.471 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.5806, allocations: 0.7337 MB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/0.5806, allocations: 74 kB / 1.472 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.5808, allocations: 88 kB / 1.472 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.5829, allocations: 1.266 MB / 1.473 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.5829, allocations: 0 / 1.473 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/0.583, allocations: 40 kB / 1.473 GB, free: 11.01 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.583, allocations: 24 kB / 1.473 GB, free: 10.99 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.5851, allocations: 1.128 MB / 1.474 GB, free: 9.855 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.5893, allocations: 2.173 MB / 1.476 GB, free: 7.633 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.5919, allocations: 0.8455 MB / 1.477 GB, free: 6.777 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.5924, allocations: 286.7 kB / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.5925, allocations: 20.62 kB / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.5936, allocations: 0.6081 MB / 1.478 GB, free: 5.824 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.436e-06/0.5936, allocations: 0 / 1.478 GB, free: 5.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003501/0.5971, allocations: 1.154 MB / 1.479 GB, free: 4.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.5972, allocations: 188.6 kB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.5981, allocations: 0.6017 MB / 1.48 GB, free: 3.824 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/0.5982, allocations: 41.7 kB / 1.48 GB, free: 3.777 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.5986, allocations: 444.9 kB / 1.48 GB, free: 3.336 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.5989, allocations: 277.6 kB / 1.48 GB, free: 3.062 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.5992, allocations: 166.6 kB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.5994, allocations: 386.8 kB / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.6, allocations: 277.8 kB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.6008, allocations: 0.4918 MB / 1.482 GB, free: 1.699 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.6021, allocations: 0.6229 MB / 1.482 GB, free: 1.066 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6022, allocations: 0 / 1.482 GB, free: 1.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002763/0.6049, allocations: 0.8687 MB / 1.483 GB, free: 188 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.6049, allocations: 4 kB / 1.483 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.605, allocations: 11.92 kB / 1.483 GB, free: 172 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/0.6058, allocations: 84.81 kB / 1.483 GB, free: 84 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6069, allocations: 167.8 kB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.6097, allocations: 1.506 MB / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.6109, allocations: 89.62 kB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.611, allocations: 39.97 kB / 1.485 GB, free: 14.18 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.0006586/0.6116, allocations: 279.5 kB / 1.485 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.6119, allocations: 87.48 kB / 1.485 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/0.6153, allocations: 1.089 MB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6153, allocations: 3.984 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6153, allocations: 3.938 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.6159, allocations: 195.1 kB / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.6161, allocations: 27.92 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.617, allocations: 67.94 kB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.6172, allocations: 76.84 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003071/0.6203, allocations: 0.967 MB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003591/0.6239, allocations: 1.45 MB / 1.489 GB, free: 9.902 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000941/0.6248, allocations: 335.8 kB / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008891/0.6257, allocations: 439 kB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of Backend: time 5.31e-07/0.6257, allocations: 0 / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005873/0.6316, allocations: 1.307 MB / 1.491 GB, free: 8.098 MB / 1.186 GB Notification: Performance of SimCode: time 0.004779/0.6364, allocations: 2.163 MB / 1.493 GB, free: 5.895 MB / 1.186 GB Notification: Performance of Templates: time 0.03676/0.6731, allocations: 19.08 MB / 1.512 GB, free: 3.078 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/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: 10.020307885002694]