Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 0.7915 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009044, allocations: 87.91 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.738e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.729/7.044, allocations: 2.192 GB / 3.411 GB, free: 73.35 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/7.044, allocations: 95.94 kB / 3.411 GB, free: 73.26 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.247/8.292, allocations: 81.15 MB / 3.49 GB, free: 388.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.737e-06/8.292, allocations: 0 / 3.49 GB, free: 388.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007983/8.293, allocations: 56.25 kB / 3.49 GB, free: 388.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.01279/8.305, allocations: 2.301 MB / 3.492 GB, free: 387.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.398e-05/8.306, allocations: 11.94 kB / 3.492 GB, free: 387.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/8.308, allocations: 312.9 kB / 3.493 GB, free: 387.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/8.324, allocations: 2.431 MB / 3.495 GB, free: 386.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004895/8.325, allocations: 109.9 kB / 3.495 GB, free: 386.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000701/8.325, allocations: 85.41 kB / 3.495 GB, free: 386.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005055/8.33, allocations: 0.9042 MB / 3.496 GB, free: 386.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-05/8.331, allocations: 0.5625 kB / 3.496 GB, free: 386.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/8.331, allocations: 35.91 kB / 3.496 GB, free: 386.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-05/8.331, allocations: 20.14 kB / 3.496 GB, free: 386.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/8.334, allocations: 0.7366 MB / 3.497 GB, free: 386.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/8.354, allocations: 4.697 MB / 3.501 GB, free: 384.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/8.358, allocations: 0.8855 MB / 3.502 GB, free: 384.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/8.36, allocations: 0.4911 MB / 3.503 GB, free: 384.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.946e-05/8.36, allocations: 16.41 kB / 3.503 GB, free: 384.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/8.362, allocations: 0.5116 MB / 3.503 GB, free: 384.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 8.436e-06/8.362, allocations: 0 / 3.503 GB, free: 384.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.00661/8.368, allocations: 1.381 MB / 3.505 GB, free: 384.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/8.368, allocations: 62.83 kB / 3.505 GB, free: 384.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0226/8.391, allocations: 3.944 MB / 3.508 GB, free: 384.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005119/8.392, allocations: 49.84 kB / 3.508 GB, free: 384.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003238/8.395, allocations: 1.191 MB / 3.51 GB, free: 384 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/8.396, allocations: 304 kB / 3.51 GB, free: 383.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/8.396, allocations: 19.66 kB / 3.51 GB, free: 383.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002351/8.397, allocations: 345.7 kB / 3.51 GB, free: 383.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/8.398, allocations: 345.1 kB / 3.511 GB, free: 383.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/8.4, allocations: 0.4973 MB / 3.511 GB, free: 383.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/8.402, allocations: 406.5 kB / 3.511 GB, free: 383.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/8.402, allocations: 4.531 kB / 3.511 GB, free: 383.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007163/8.409, allocations: 1.491 MB / 3.513 GB, free: 383.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/8.409, allocations: 6.312 kB / 3.513 GB, free: 383.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/8.409, allocations: 6.844 kB / 3.513 GB, free: 383.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/8.411, allocations: 347 kB / 3.513 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/8.412, allocations: 171.4 kB / 3.513 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/8.423, allocations: 4.984 MB / 3.518 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/8.427, allocations: 154.8 kB / 3.518 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/8.427, allocations: 35.61 kB / 3.519 GB, free: 380.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004532/8.427, allocations: 165.9 kB / 3.519 GB, free: 380.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/8.429, allocations: 289 kB / 3.519 GB, free: 380 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/8.435, allocations: 1.556 MB / 3.52 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/8.435, allocations: 12.31 kB / 3.52 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/8.435, allocations: 4.906 kB / 3.52 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/8.435, allocations: 6.391 kB / 3.52 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/8.448, allocations: 3.722 MB / 3.524 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/8.448, allocations: 4.734 kB / 3.524 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/8.449, allocations: 106.2 kB / 3.524 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/8.451, allocations: 330.2 kB / 3.525 GB, free: 378 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/8.451, allocations: 32.23 kB / 3.525 GB, free: 378 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009799/8.461, allocations: 4.971 MB / 3.529 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/8.461, allocations: 0.9688 kB / 3.529 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009035/8.47, allocations: 2.077 MB / 3.531 GB, free: 373.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/8.474, allocations: 0.6438 MB / 3.532 GB, free: 373.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009342/8.475, allocations: 29.94 kB / 3.532 GB, free: 373 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/8.477, allocations: 77.98 kB / 3.532 GB, free: 373 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005377/8.477, allocations: 105.3 kB / 3.532 GB, free: 373 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/8.477, allocations: 28.55 kB / 3.532 GB, free: 373 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.009702/8.487, allocations: 3.137 MB / 3.535 GB, free: 371.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.603e-06/8.487, allocations: 6 kB / 3.535 GB, free: 371.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004122/8.491, allocations: 0.5778 MB / 3.536 GB, free: 371.8 MB / 1.167 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002432/8.494, allocations: 0.9366 MB / 3.537 GB, free: 371.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002793/8.497, allocations: 1.254 MB / 3.538 GB, free: 371 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.497, allocations: 0 / 3.538 GB, free: 371 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/8.498, allocations: 0.8319 MB / 3.539 GB, free: 370.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/8.501, allocations: 313.8 kB / 3.539 GB, free: 370.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/8.51, allocations: 4.798 MB / 3.544 GB, free: 369 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/8.511, allocations: 1.883 MB / 3.546 GB, free: 368.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001158/8.513, allocations: 341.9 kB / 3.546 GB, free: 368.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/8.513, allocations: 136.1 kB / 3.546 GB, free: 368.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/8.513, allocations: 0 / 3.546 GB, free: 368.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06084/8.574, allocations: 31.51 MB / 3.577 GB, free: 366 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches