Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 110.3 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001752, allocations: 198.1 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 489.3 MB / 0.7687 GB, free: 3.832 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 72.06 kB / 1.103 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9132, allocations: 163.8 MB / 1.263 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006201/0.9194, allocations: 5.125 MB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1875/1.107, allocations: 150.7 MB / 1.415 GB, free: 4.816 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/1.108, allocations: 19.28 kB / 1.415 GB, free: 4.809 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009338/1.109, allocations: 192.3 kB / 1.415 GB, free: 4.641 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002647/1.112, allocations: 0.564 MB / 1.415 GB, free: 4.215 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/1.115, allocations: 0.8415 MB / 1.416 GB, free: 3.578 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002135/1.117, allocations: 1.461 MB / 1.418 GB, free: 2.664 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/1.118, allocations: 0.6457 MB / 1.418 GB, free: 2.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/1.119, allocations: 0.5208 MB / 1.419 GB, free: 1.949 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/1.12, allocations: 0.5377 MB / 1.419 GB, free: 1.566 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000294/1.12, allocations: 125.7 kB / 1.419 GB, free: 1.566 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/1.121, allocations: 0.4942 MB / 1.42 GB, free: 1.375 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003914/1.122, allocations: 312.6 kB / 1.42 GB, free: 1.129 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008932/1.123, allocations: 0.6029 MB / 1.421 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002793/1.126, allocations: 1.739 MB / 1.423 GB, free: 15.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.126, allocations: 0 / 1.423 GB, free: 15.43 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.217e-06/1.126, allocations: 0 / 1.423 GB, free: 15.43 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.115e-05/1.126, allocations: 7.938 kB / 1.423 GB, free: 15.42 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.003025/1.129, allocations: 1.534 MB / 1.424 GB, free: 14.21 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/1.129, allocations: 8.156 kB / 1.424 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.13, allocations: 219 kB / 1.424 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/1.131, allocations: 0.7884 MB / 1.425 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/1.131, allocations: 68.88 kB / 1.425 GB, free: 13.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.131, allocations: 92.56 kB / 1.425 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.133, allocations: 1.006 MB / 1.426 GB, free: 12.76 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/1.133, allocations: 1.438 kB / 1.426 GB, free: 12.76 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.133, allocations: 41.05 kB / 1.426 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/1.134, allocations: 26.5 kB / 1.426 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.136, allocations: 1.171 MB / 1.427 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/1.14, allocations: 2.967 MB / 1.43 GB, free: 9.762 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/1.143, allocations: 0.9756 MB / 1.431 GB, free: 9.215 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/1.144, allocations: 314.8 kB / 1.432 GB, free: 9.059 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.849e-05/1.144, allocations: 31.75 kB / 1.432 GB, free: 9.043 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009701/1.145, allocations: 0.5035 MB / 1.432 GB, free: 8.715 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.355e-06/1.145, allocations: 0 / 1.432 GB, free: 8.715 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003512/1.148, allocations: 1.237 MB / 1.433 GB, free: 8.043 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.148, allocations: 198.1 kB / 1.433 GB, free: 7.816 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/1.149, allocations: 0.6414 MB / 1.434 GB, free: 7.441 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/1.149, allocations: 42.92 kB / 1.434 GB, free: 7.398 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/1.15, allocations: 428.8 kB / 1.435 GB, free: 7.023 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/1.15, allocations: 278.7 kB / 1.435 GB, free: 6.781 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/1.15, allocations: 167.5 kB / 1.435 GB, free: 6.676 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002241/1.151, allocations: 394.6 kB / 1.435 GB, free: 6.301 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/1.151, allocations: 275.8 kB / 1.436 GB, free: 6.168 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/1.152, allocations: 373.2 kB / 1.436 GB, free: 5.957 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/1.153, allocations: 0.6213 MB / 1.437 GB, free: 5.621 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.153, allocations: 4 kB / 1.437 GB, free: 5.617 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002261/1.156, allocations: 0.8811 MB / 1.437 GB, free: 4.812 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.156, allocations: 9.719 kB / 1.437 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.156, allocations: 0 / 1.437 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/1.156, allocations: 80.88 kB / 1.438 GB, free: 4.723 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/1.157, allocations: 167.8 kB / 1.438 GB, free: 4.559 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/1.159, allocations: 1.626 MB / 1.439 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/1.16, allocations: 99.41 kB / 1.439 GB, free: 2.691 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/1.16, allocations: 40.09 kB / 1.439 GB, free: 2.652 MB / 1.123 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.0005368/1.161, allocations: 282.9 kB / 1.44 GB, free: 2.367 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/1.161, allocations: 87.44 kB / 1.44 GB, free: 2.281 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.164, allocations: 1.093 MB / 1.441 GB, free: 1.168 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.164, allocations: 8 kB / 1.441 GB, free: 1.16 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.164, allocations: 8 kB / 1.441 GB, free: 1.152 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.164, allocations: 7.922 kB / 1.441 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/1.168, allocations: 2.005 MB / 1.443 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.168, allocations: 0 / 1.443 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/1.168, allocations: 151.8 kB / 1.443 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/1.169, allocations: 72.78 kB / 1.443 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.641e-05/1.169, allocations: 23.98 kB / 1.443 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/1.171, allocations: 1.666 MB / 1.445 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.171, allocations: 0 / 1.445 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/1.174, allocations: 1.03 MB / 1.446 GB, free: 11.97 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/1.174, allocations: 276.1 kB / 1.446 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.174, allocations: 23.95 kB / 1.446 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/1.175, allocations: 67.92 kB / 1.446 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.175, allocations: 76.89 kB / 1.446 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/1.175, allocations: 27.98 kB / 1.446 GB, free: 11.49 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000673/1.176, allocations: 471 kB / 1.447 GB, free: 11.04 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.176, allocations: 0 / 1.447 GB, free: 11.04 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009937/1.177, allocations: 347.1 kB / 1.447 GB, free: 10.7 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.001995/1.179, allocations: 0.6061 MB / 1.447 GB, free: 10.28 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.181, allocations: 0.8625 MB / 1.448 GB, free: 9.398 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.181, allocations: 0 / 1.448 GB, free: 9.398 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.182, allocations: 0.5275 MB / 1.449 GB, free: 8.863 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.184, allocations: 296.5 kB / 1.449 GB, free: 8.594 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/1.187, allocations: 1.802 MB / 1.451 GB, free: 6.758 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/1.188, allocations: 1.039 MB / 1.452 GB, free: 5.688 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/1.188, allocations: 115.4 kB / 1.452 GB, free: 5.574 MB / 1.139 GB Notification: Performance of SimCode: time 2.525e-06/1.188, allocations: 4 kB / 1.452 GB, free: 5.57 MB / 1.139 GB Notification: Performance of Templates: time 0.02896/1.217, allocations: 19.44 MB / 1.471 GB, free: 2.195 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.778949470957741]