Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004673/0.004673, allocations: 104 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 189.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 58.58 kB / 0.9508 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2561, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.153/0.4091, allocations: 157.5 MB / 1.242 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.701/1.11, allocations: 22.05 MB / 1.263 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/1.113, allocations: 56.59 kB / 1.263 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/1.116, allocations: 2.174 MB / 1.265 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/1.119, allocations: 1.465 MB / 1.267 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/1.121, allocations: 0.6208 MB / 1.267 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003301/1.124, allocations: 1.934 MB / 1.269 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/1.126, allocations: 1.125 MB / 1.27 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/1.128, allocations: 0.923 MB / 1.271 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/1.131, allocations: 1.595 MB / 1.273 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/1.131, allocations: 96.69 kB / 1.273 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/1.132, allocations: 142.7 kB / 1.273 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005963/1.132, allocations: 0.5491 MB / 1.274 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008503/1.133, allocations: 0.7997 MB / 1.274 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/1.135, allocations: 1.936 MB / 1.276 GB, free: 2.996 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.135, allocations: 1.344 kB / 1.276 GB, free: 2.996 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.135, allocations: 3.812 kB / 1.276 GB, free: 2.996 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.572e-05/1.135, allocations: 0 / 1.276 GB, free: 2.996 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003433/1.139, allocations: 2.348 MB / 1.279 GB, free: 1.695 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.139, allocations: 9.688 kB / 1.279 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/1.139, allocations: 238.4 kB / 1.279 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.14, allocations: 1.038 MB / 1.28 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/1.141, allocations: 93.28 kB / 1.28 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.141, allocations: 72.97 kB / 1.28 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.142, allocations: 0.7794 MB / 1.281 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.142, allocations: 2.188 kB / 1.281 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/1.142, allocations: 29.28 kB / 1.281 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/1.142, allocations: 17.19 kB / 1.281 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/1.143, allocations: 0.6348 MB / 1.282 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/1.148, allocations: 3.731 MB / 1.285 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.15, allocations: 0.7382 MB / 1.286 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/1.151, allocations: 433.1 kB / 1.286 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/1.151, allocations: 14.36 kB / 1.286 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/1.152, allocations: 448.5 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=73): time 3.376e-06/1.152, allocations: 0.9062 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=73): time 0.005251/1.157, allocations: 1.836 MB / 1.289 GB, free: 14.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.157, allocations: 61.03 kB / 1.289 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005106/1.162, allocations: 3.363 MB / 1.292 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/1.162, allocations: 47.67 kB / 1.292 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009138/1.163, allocations: 0.924 MB / 1.293 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.163, allocations: 234.8 kB / 1.293 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/1.164, allocations: 135.2 kB / 1.293 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.164, allocations: 343.5 kB / 1.293 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/1.164, allocations: 318 kB / 1.294 GB, free: 13.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007515/1.165, allocations: 471.3 kB / 1.294 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.166, allocations: 0.7524 MB / 1.295 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.166, allocations: 1.094 kB / 1.295 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002354/1.169, allocations: 1.252 MB / 1.296 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.169, allocations: 8.984 kB / 1.296 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.169, allocations: 4.562 kB / 1.296 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/1.17, allocations: 263.1 kB / 1.296 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/1.17, allocations: 139.2 kB / 1.297 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/1.175, allocations: 4.748 MB / 1.301 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/1.176, allocations: 101.9 kB / 1.301 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/1.176, allocations: 25.81 kB / 1.301 GB, free: 10.47 MB / 1.029 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.001148/1.177, allocations: 0.6112 MB / 1.302 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/1.177, allocations: 210.2 kB / 1.302 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/1.177, allocations: 260.9 kB / 1.302 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.177, allocations: 8.594 kB / 1.302 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/1.178, allocations: 7.312 kB / 1.302 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.178, allocations: 6.734 kB / 1.302 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/1.181, allocations: 2.408 MB / 1.305 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.181, allocations: 3.75 kB / 1.305 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/1.181, allocations: 72.98 kB / 1.305 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/1.182, allocations: 247.3 kB / 1.305 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/1.182, allocations: 19.94 kB / 1.305 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/1.186, allocations: 4.745 MB / 1.31 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.186, allocations: 4.281 kB / 1.31 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.189, allocations: 1.633 MB / 1.311 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005232/1.19, allocations: 326 kB / 1.312 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.19, allocations: 19.69 kB / 1.312 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/1.19, allocations: 41.02 kB / 1.312 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/1.191, allocations: 71.84 kB / 1.312 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/1.191, allocations: 30.08 kB / 1.312 GB, free: 6.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002731/1.193, allocations: 2.467 MB / 1.314 GB, free: 6.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.193, allocations: 0.75 kB / 1.314 GB, free: 6.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009895/1.194, allocations: 294.4 kB / 1.314 GB, free: 6.195 MB / 1.029 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.001101/1.195, allocations: 492.6 kB / 1.315 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.197, allocations: 1.094 MB / 1.316 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.197, allocations: 1 kB / 1.316 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009631/1.198, allocations: 0.7025 MB / 1.317 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.2, allocations: 305.5 kB / 1.317 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/1.205, allocations: 4.086 MB / 1.321 GB, free: 4.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.206, allocations: 1.557 MB / 1.323 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004245/1.206, allocations: 156.5 kB / 1.323 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.206, allocations: 68.81 kB / 1.323 GB, free: 3.461 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/1.206, allocations: 0 / 1.323 GB, free: 3.461 MB / 1.029 GB Notification: Performance of Templates: time 0.02579/1.232, allocations: 15.27 MB / 1.338 GB, free: 1.457 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches