Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 187.5 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001026, allocations: 92.03 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003504, allocations: 8.281 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.188/6.483, allocations: 2.468 GB / 3.368 GB, free: 44.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/6.483, allocations: 99 kB / 3.368 GB, free: 44.33 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6379/7.121, allocations: 74.58 MB / 3.441 GB, free: 298.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.705e-06/7.121, allocations: 3.75 kB / 3.441 GB, free: 298.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003037/7.121, allocations: 43.09 kB / 3.441 GB, free: 298.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.006594/7.128, allocations: 2.237 MB / 3.443 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/7.128, allocations: 13.09 kB / 3.443 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/7.129, allocations: 244 kB / 3.444 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/7.136, allocations: 1.901 MB / 3.446 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/7.136, allocations: 100.4 kB / 3.446 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/7.136, allocations: 73.83 kB / 3.446 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/7.138, allocations: 0.7612 MB / 3.446 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/7.138, allocations: 7.719 kB / 3.446 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/7.138, allocations: 26 kB / 3.447 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/7.138, allocations: 15.72 kB / 3.447 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/7.139, allocations: 0.6237 MB / 3.447 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007179/7.146, allocations: 3.932 MB / 3.451 GB, free: 294.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/7.148, allocations: 0.7356 MB / 3.452 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/7.148, allocations: 4.406 kB / 3.452 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/7.149, allocations: 441.8 kB / 3.452 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 3.176e-06/7.149, allocations: 4 kB / 3.452 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.004688/7.153, allocations: 1.885 MB / 3.454 GB, free: 294 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/7.154, allocations: 62.47 kB / 3.454 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005676/7.159, allocations: 3.002 MB / 3.457 GB, free: 293.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.617e-05/7.159, allocations: 41.45 kB / 3.457 GB, free: 293.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/7.16, allocations: 0.9326 MB / 3.458 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/7.16, allocations: 226.1 kB / 3.458 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/7.16, allocations: 17.44 kB / 3.458 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.656e-05/7.16, allocations: 341.4 kB / 3.458 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/7.161, allocations: 327.9 kB / 3.459 GB, free: 293 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/7.162, allocations: 474.9 kB / 3.459 GB, free: 292.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/7.162, allocations: 374.8 kB / 3.46 GB, free: 292.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/7.162, allocations: 0 / 3.46 GB, free: 292.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002321/7.165, allocations: 1.281 MB / 3.461 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/7.165, allocations: 7.406 kB / 3.461 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/7.165, allocations: 3.938 kB / 3.461 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/7.165, allocations: 273.6 kB / 3.461 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/7.166, allocations: 139.3 kB / 3.461 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/7.17, allocations: 4.522 MB / 3.466 GB, free: 290 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/7.171, allocations: 127.5 kB / 3.466 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/7.171, allocations: 27.59 kB / 3.466 GB, free: 289.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001169/7.172, allocations: 0.616 MB / 3.466 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005246/7.173, allocations: 218.5 kB / 3.467 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/7.175, allocations: 1.224 MB / 3.468 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/7.175, allocations: 7.812 kB / 3.468 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/7.175, allocations: 3.969 kB / 3.468 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/7.175, allocations: 5.766 kB / 3.468 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005555/7.181, allocations: 2.915 MB / 3.471 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.181, allocations: 0 / 3.471 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/7.181, allocations: 75.36 kB / 3.471 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/7.182, allocations: 273.4 kB / 3.471 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/7.182, allocations: 20.06 kB / 3.471 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/7.186, allocations: 4.507 MB / 3.475 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/7.186, allocations: 2.625 kB / 3.475 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/7.188, allocations: 1.663 MB / 3.477 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/7.19, allocations: 0.495 MB / 3.478 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/7.19, allocations: 27.67 kB / 3.478 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/7.19, allocations: 63.03 kB / 3.478 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/7.191, allocations: 84.23 kB / 3.478 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/7.191, allocations: 23.92 kB / 3.478 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002868/7.193, allocations: 2.392 MB / 3.48 GB, free: 285 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.32e-07/7.193, allocations: 0 / 3.48 GB, free: 285 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001287/7.195, allocations: 484.7 kB / 3.481 GB, free: 284.9 MB / 0.8855 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) * 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 (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/7.196, allocations: 0.9765 MB / 3.481 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001692/7.198, allocations: 1.105 MB / 3.483 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.198, allocations: 0 / 3.483 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008575/7.199, allocations: 0.7192 MB / 3.483 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/7.2, allocations: 265.1 kB / 3.484 GB, free: 283.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/7.206, allocations: 4.885 MB / 3.488 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/7.206, allocations: 1.593 MB / 3.49 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005599/7.207, allocations: 264 kB / 3.49 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/7.207, allocations: 103.1 kB / 3.49 GB, free: 280.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/7.207, allocations: 0 / 3.49 GB, free: 280.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.03638/7.244, allocations: 25.22 MB / 3.515 GB, free: 261.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches