Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.0006997/0.0006997, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007945/0.0007945, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9077/0.9077, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.781/1.781, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.172e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5602/0.5602, allocations: 138.4 MB / 1.136 GB, free: 13.89 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.5781, allocations: 19.72 MB / 1.155 GB, free: 316 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.5798, allocations: 71.09 kB / 1.155 GB, free: 280 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.5813, allocations: 1.173 MB / 1.157 GB, free: 60 kB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.5826, allocations: 0.9322 MB / 1.157 GB, free: 15.73 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.5835, allocations: 395.2 kB / 1.158 GB, free: 15.5 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.5848, allocations: 1.303 MB / 1.159 GB, free: 14.94 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008098/0.5857, allocations: 0.5429 MB / 1.16 GB, free: 14.71 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.5866, allocations: 0.7191 MB / 1.16 GB, free: 14.46 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.5876, allocations: 0.9368 MB / 1.161 GB, free: 14.31 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.5877, allocations: 65.31 kB / 1.161 GB, free: 14.31 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.5879, allocations: 110.1 kB / 1.161 GB, free: 14.3 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.5881, allocations: 337.3 kB / 1.162 GB, free: 14.12 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.5884, allocations: 288.1 kB / 1.162 GB, free: 13.99 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.5896, allocations: 1.23 MB / 1.163 GB, free: 13.53 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5896, allocations: 0.6562 kB / 1.163 GB, free: 13.53 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5896, allocations: 0 / 1.163 GB, free: 13.53 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.281e-05/0.5896, allocations: 0 / 1.163 GB, free: 13.53 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001857/0.5915, allocations: 1.519 MB / 1.165 GB, free: 12.5 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5915, allocations: 11.08 kB / 1.165 GB, free: 12.5 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.5917, allocations: 149.2 kB / 1.165 GB, free: 12.42 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.5928, allocations: 1.041 MB / 1.166 GB, free: 11.88 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.593, allocations: 103.5 kB / 1.166 GB, free: 11.8 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.593, allocations: 48.62 kB / 1.166 GB, free: 11.79 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.5937, allocations: 0.5197 MB / 1.167 GB, free: 11.56 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5937, allocations: 5.344 kB / 1.167 GB, free: 11.56 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.5938, allocations: 17.02 kB / 1.167 GB, free: 11.55 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.5938, allocations: 10.09 kB / 1.167 GB, free: 11.55 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.5944, allocations: 415.8 kB / 1.167 GB, free: 11.41 MB / 1.026 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.002209/0.5966, allocations: 1.778 MB / 1.169 GB, free: 10.48 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.5972, allocations: 412.1 kB / 1.169 GB, free: 10.32 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.5976, allocations: 287.5 kB / 1.169 GB, free: 10.23 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.5977, allocations: 4.906 kB / 1.169 GB, free: 10.23 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.598, allocations: 289.5 kB / 1.17 GB, free: 10.11 MB / 1.026 GB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/0.598, allocations: 0 / 1.17 GB, free: 10.11 MB / 1.026 GB Notification: Performance of matching and sorting (n=44): time 0.001602/0.5996, allocations: 1.002 MB / 1.171 GB, free: 9.754 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5997, allocations: 61.81 kB / 1.171 GB, free: 9.688 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6008, allocations: 1.201 MB / 1.172 GB, free: 9.285 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.6008, allocations: 38.44 kB / 1.172 GB, free: 9.246 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.6011, allocations: 0.5604 MB / 1.172 GB, free: 8.801 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-05/0.6012, allocations: 145.9 kB / 1.173 GB, free: 8.688 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6013, allocations: 105.4 kB / 1.173 GB, free: 8.629 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.6014, allocations: 325.8 kB / 1.173 GB, free: 8.316 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.6017, allocations: 214.2 kB / 1.173 GB, free: 8.254 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.6021, allocations: 333.9 kB / 1.173 GB, free: 8.051 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.6027, allocations: 0.5246 MB / 1.174 GB, free: 7.746 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6027, allocations: 1.094 kB / 1.174 GB, free: 7.746 MB / 1.026 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001433/0.6041, allocations: 0.815 MB / 1.175 GB, free: 7.414 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6041, allocations: 11.73 kB / 1.175 GB, free: 7.41 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6041, allocations: 3.438 kB / 1.175 GB, free: 7.41 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.6044, allocations: 143.4 kB / 1.175 GB, free: 7.363 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6047, allocations: 105.1 kB / 1.175 GB, free: 7.352 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.6066, allocations: 2.446 MB / 1.177 GB, free: 5.457 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.6068, allocations: 78.11 kB / 1.178 GB, free: 5.422 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.6069, allocations: 21.16 kB / 1.178 GB, free: 5.418 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003735/0.6073, allocations: 389.6 kB / 1.178 GB, free: 5.219 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6074, allocations: 131 kB / 1.178 GB, free: 5.148 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.6083, allocations: 0.7125 MB / 1.179 GB, free: 4.855 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6083, allocations: 5.062 kB / 1.179 GB, free: 4.855 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6083, allocations: 2.469 kB / 1.179 GB, free: 4.855 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6083, allocations: 3.828 kB / 1.179 GB, free: 4.855 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.61, allocations: 1.393 MB / 1.18 GB, free: 4.199 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.61, allocations: 0 / 1.18 GB, free: 4.199 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.6101, allocations: 48.83 kB / 1.18 GB, free: 4.195 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.6104, allocations: 165 kB / 1.18 GB, free: 4.137 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.6104, allocations: 16.28 kB / 1.18 GB, free: 4.129 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.6129, allocations: 3.957 MB / 1.184 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6129, allocations: 1.094 kB / 1.184 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.6141, allocations: 1.009 MB / 1.185 GB, free: 308 kB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.6143, allocations: 146.5 kB / 1.185 GB, free: 216 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.6144, allocations: 14.53 kB / 1.185 GB, free: 208 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.6145, allocations: 42.67 kB / 1.185 GB, free: 192 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.6146, allocations: 52.08 kB / 1.185 GB, free: 184 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.6147, allocations: 17.73 kB / 1.185 GB, free: 180 kB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0007853/0.6154, allocations: 0.8344 MB / 1.186 GB, free: 15.89 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6154, allocations: 1.125 kB / 1.186 GB, free: 15.89 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0008583/0.6163, allocations: 206.6 kB / 1.186 GB, free: 15.86 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008493/0.6171, allocations: 0.5172 MB / 1.187 GB, free: 15.64 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0008621/0.618, allocations: 0.6514 MB / 1.188 GB, free: 15.34 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.618, allocations: 0 / 1.188 GB, free: 15.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.6185, allocations: 0.522 MB / 1.188 GB, free: 15 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.6191, allocations: 233 kB / 1.188 GB, free: 14.91 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.6216, allocations: 2.173 MB / 1.19 GB, free: 13.88 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.622, allocations: 0.5597 MB / 1.191 GB, free: 13.71 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.6222, allocations: 129 kB / 1.191 GB, free: 13.68 MB / 1.042 GB Notification: Performance of SimCode: time 8.22e-07/0.6222, allocations: 0 / 1.191 GB, free: 13.68 MB / 1.042 GB Notification: Performance of Templates: time 0.01783/0.64, allocations: 21.24 MB / 1.212 GB, free: 3.262 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.331597813405097]