Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.001542/0.001542, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001364/0.001364, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.413/1.413, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.869/2.869, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 177] 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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 63.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9011, allocations: 163.8 MB / 1.263 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1899/1.091, allocations: 157.6 MB / 1.416 GB, free: 3.543 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02855/1.12, allocations: 22.11 MB / 1.438 GB, free: 1.434 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/1.122, allocations: 58.44 kB / 1.438 GB, free: 1.414 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.125, allocations: 2.169 MB / 1.44 GB, free: 340 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/1.127, allocations: 1.456 MB / 1.442 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/1.129, allocations: 0.6122 MB / 1.442 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002816/1.132, allocations: 1.956 MB / 1.444 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/1.134, allocations: 1.123 MB / 1.445 GB, free: 13.13 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/1.135, allocations: 0.923 MB / 1.446 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/1.137, allocations: 1.596 MB / 1.448 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/1.137, allocations: 96 kB / 1.448 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/1.138, allocations: 139.9 kB / 1.448 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/1.138, allocations: 0.5472 MB / 1.448 GB, free: 9.828 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007853/1.139, allocations: 0.8147 MB / 1.449 GB, free: 9.008 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/1.141, allocations: 1.964 MB / 1.451 GB, free: 7.035 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.141, allocations: 0 / 1.451 GB, free: 7.035 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.182e-06/1.141, allocations: 0 / 1.451 GB, free: 7.035 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.216e-05/1.141, allocations: 0 / 1.451 GB, free: 7.035 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003521/1.145, allocations: 2.438 MB / 1.454 GB, free: 4.531 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.145, allocations: 12.03 kB / 1.454 GB, free: 4.52 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/1.145, allocations: 254.3 kB / 1.454 GB, free: 4.27 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.147, allocations: 1.061 MB / 1.455 GB, free: 3.141 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.147, allocations: 87.69 kB / 1.455 GB, free: 3.051 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.147, allocations: 75.95 kB / 1.455 GB, free: 2.977 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.148, allocations: 0.7932 MB / 1.456 GB, free: 2.168 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.148, allocations: 0 / 1.456 GB, free: 2.168 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/1.148, allocations: 35.94 kB / 1.456 GB, free: 2.133 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/1.148, allocations: 16 kB / 1.456 GB, free: 2.117 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/1.15, allocations: 0.6375 MB / 1.456 GB, free: 1.48 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/1.155, allocations: 3.738 MB / 1.46 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.156, allocations: 0.7399 MB / 1.461 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/1.157, allocations: 434.3 kB / 1.461 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/1.157, allocations: 12.55 kB / 1.461 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008331/1.158, allocations: 452 kB / 1.462 GB, free: 11.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=73): time 4.629e-06/1.158, allocations: 0 / 1.462 GB, free: 11.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=73): time 0.004384/1.163, allocations: 1.843 MB / 1.464 GB, free: 9.945 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.163, allocations: 67.98 kB / 1.464 GB, free: 9.867 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/1.166, allocations: 3.38 MB / 1.467 GB, free: 6.465 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/1.166, allocations: 45.7 kB / 1.467 GB, free: 6.414 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/1.167, allocations: 0.9375 MB / 1.468 GB, free: 5.473 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.168, allocations: 246 kB / 1.468 GB, free: 5.23 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/1.168, allocations: 138.7 kB / 1.468 GB, free: 5.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.168, allocations: 334 kB / 1.469 GB, free: 4.758 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/1.169, allocations: 321.8 kB / 1.469 GB, free: 4.441 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/1.169, allocations: 468.1 kB / 1.469 GB, free: 3.938 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/1.171, allocations: 0.751 MB / 1.47 GB, free: 3.145 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.171, allocations: 0 / 1.47 GB, free: 3.145 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002482/1.173, allocations: 1.26 MB / 1.471 GB, free: 1.871 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.173, allocations: 8 kB / 1.471 GB, free: 1.863 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.173, allocations: 4 kB / 1.471 GB, free: 1.859 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/1.174, allocations: 263.6 kB / 1.472 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/1.175, allocations: 135.8 kB / 1.472 GB, free: 1.465 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/1.18, allocations: 4.753 MB / 1.476 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/1.18, allocations: 107.4 kB / 1.476 GB, free: 12.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/1.181, allocations: 24 kB / 1.476 GB, free: 12.3 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008782/1.181, allocations: 0.6147 MB / 1.477 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/1.182, allocations: 222.5 kB / 1.477 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/1.182, allocations: 265.2 kB / 1.477 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.182, allocations: 4 kB / 1.477 GB, free: 11.19 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.182, allocations: 4 kB / 1.477 GB, free: 11.19 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.182, allocations: 7.984 kB / 1.477 GB, free: 11.18 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/1.186, allocations: 2.413 MB / 1.48 GB, free: 8.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.186, allocations: 7.922 kB / 1.48 GB, free: 8.695 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/1.186, allocations: 71.91 kB / 1.48 GB, free: 8.625 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006324/1.187, allocations: 245.5 kB / 1.48 GB, free: 8.379 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/1.187, allocations: 19.98 kB / 1.48 GB, free: 8.359 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005558/1.193, allocations: 4.76 MB / 1.485 GB, free: 3.324 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.193, allocations: 0 / 1.485 GB, free: 3.324 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/1.196, allocations: 1.655 MB / 1.486 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/1.197, allocations: 339.4 kB / 1.487 GB, free: 1.297 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.197, allocations: 15.94 kB / 1.487 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/1.197, allocations: 43.95 kB / 1.487 GB, free: 1.238 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.198, allocations: 68.56 kB / 1.487 GB, free: 1.172 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/1.198, allocations: 23.98 kB / 1.487 GB, free: 1.148 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003041/1.201, allocations: 2.476 MB / 1.489 GB, free: 14.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.201, allocations: 0 / 1.489 GB, free: 14.66 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009965/1.202, allocations: 299.6 kB / 1.49 GB, free: 14.37 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001789/1.203, allocations: 498.3 kB / 1.49 GB, free: 14.07 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002167/1.206, allocations: 1.101 MB / 1.491 GB, free: 12.94 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.206, allocations: 4 kB / 1.491 GB, free: 12.93 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.207, allocations: 0.7066 MB / 1.492 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.208, allocations: 284.3 kB / 1.492 GB, free: 11.93 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006562/1.215, allocations: 4.238 MB / 1.496 GB, free: 7.656 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.216, allocations: 1.544 MB / 1.498 GB, free: 6.078 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/1.216, allocations: 75.42 kB / 1.498 GB, free: 6.004 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/1.216, allocations: 0 / 1.498 GB, free: 6.004 MB / 1.186 GB Notification: Performance of Templates: time 0.04861/1.265, allocations: 32.88 MB / 1.53 GB, free: 5.152 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.632831746945158]