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.504/2.504, allocations: 390.5 MB / 398 MB, free: 10.89 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.001247/0.001247, allocations: 176.8 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009592/0.0009593, allocations: 99.58 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.13e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.376, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.65/7.026, allocations: 2.191 GB / 3.403 GB, free: 86.05 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/7.027, allocations: 98.88 kB / 3.404 GB, free: 86 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1745/7.201, allocations: 80.2 MB / 3.482 GB, free: 8.758 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.775e-06/7.201, allocations: 3.938 kB / 3.482 GB, free: 8.754 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005527/7.202, allocations: 51.94 kB / 3.482 GB, free: 8.703 MB / 1.151 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.008024/7.21, allocations: 2.294 MB / 3.484 GB, free: 6.348 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.104e-05/7.21, allocations: 8.031 kB / 3.484 GB, free: 6.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/7.212, allocations: 316.5 kB / 3.484 GB, free: 6.027 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008112/7.22, allocations: 2.431 MB / 3.487 GB, free: 3.535 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/7.22, allocations: 75.69 kB / 3.487 GB, free: 3.457 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/7.221, allocations: 52 kB / 3.487 GB, free: 3.406 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00192/7.223, allocations: 0.6911 MB / 3.488 GB, free: 2.715 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/7.225, allocations: 0.7859 MB / 3.488 GB, free: 1.918 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/7.225, allocations: 4 kB / 3.488 GB, free: 1.914 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/7.225, allocations: 7.984 kB / 3.488 GB, free: 1.906 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/7.225, allocations: 23.95 kB / 3.488 GB, free: 1.883 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.029/8.253, allocations: 4.508 MB / 3.493 GB, free: 372.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/8.256, allocations: 0.8461 MB / 3.494 GB, free: 372.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009946/8.257, allocations: 466.6 kB / 3.494 GB, free: 372.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-05/8.257, allocations: 11.94 kB / 3.494 GB, free: 372.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/8.258, allocations: 0.4886 MB / 3.495 GB, free: 372.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 5.03e-06/8.258, allocations: 0.7188 kB / 3.495 GB, free: 372.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.004094/8.262, allocations: 1.312 MB / 3.496 GB, free: 372.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/8.262, allocations: 66.8 kB / 3.496 GB, free: 372.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/8.273, allocations: 3.746 MB / 3.5 GB, free: 372.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003929/8.274, allocations: 34.14 kB / 3.5 GB, free: 372.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/8.275, allocations: 1.168 MB / 3.501 GB, free: 372.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007252/8.276, allocations: 287.9 kB / 3.501 GB, free: 371.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/8.276, allocations: 0 / 3.501 GB, free: 371.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000187/8.276, allocations: 351.2 kB / 3.501 GB, free: 371.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/8.277, allocations: 327.1 kB / 3.502 GB, free: 371.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/8.278, allocations: 489.9 kB / 3.502 GB, free: 371.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/8.279, allocations: 394 kB / 3.503 GB, free: 371.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/8.279, allocations: 1.562 kB / 3.503 GB, free: 371.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004007/8.283, allocations: 1.393 MB / 3.504 GB, free: 371.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/8.283, allocations: 5.875 kB / 3.504 GB, free: 371.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/8.283, allocations: 7.141 kB / 3.504 GB, free: 371.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/8.284, allocations: 325 kB / 3.504 GB, free: 371.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/8.285, allocations: 174.5 kB / 3.504 GB, free: 371.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/8.292, allocations: 4.799 MB / 3.509 GB, free: 368.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/8.294, allocations: 124.3 kB / 3.509 GB, free: 368.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/8.294, allocations: 33.16 kB / 3.509 GB, free: 368.7 MB / 1.151 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.0003253/8.294, allocations: 140.7 kB / 3.509 GB, free: 368.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/8.295, allocations: 287.3 kB / 3.51 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/8.298, allocations: 1.479 MB / 3.511 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/8.298, allocations: 10.12 kB / 3.511 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/8.299, allocations: 5.312 kB / 3.511 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/8.299, allocations: 5.062 kB / 3.511 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/8.307, allocations: 3.527 MB / 3.515 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/8.307, allocations: 0 / 3.515 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/8.308, allocations: 107.3 kB / 3.515 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/8.309, allocations: 325.4 kB / 3.515 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/8.309, allocations: 12.61 kB / 3.515 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006491/8.315, allocations: 4.797 MB / 3.52 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/8.316, allocations: 1.562 kB / 3.52 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004916/8.32, allocations: 2.006 MB / 3.522 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/8.322, allocations: 0.6329 MB / 3.522 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/8.323, allocations: 16.22 kB / 3.522 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/8.323, allocations: 64.97 kB / 3.522 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/8.324, allocations: 100.6 kB / 3.522 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/8.324, allocations: 34.42 kB / 3.522 GB, free: 364.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006106/8.33, allocations: 2.947 MB / 3.525 GB, free: 364.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.21e-07/8.33, allocations: 3.672 kB / 3.525 GB, free: 364.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003497/8.334, allocations: 0.544 MB / 3.526 GB, free: 364.6 MB / 1.151 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.002462/8.336, allocations: 0.9891 MB / 3.527 GB, free: 364.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00276/8.339, allocations: 1.184 MB / 3.528 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/8.339, allocations: 5.375 kB / 3.528 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/8.34, allocations: 0.7948 MB / 3.529 GB, free: 363.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/8.343, allocations: 290.7 kB / 3.529 GB, free: 363.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/8.356, allocations: 4.739 MB / 3.534 GB, free: 362.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005021/8.361, allocations: 1.886 MB / 3.536 GB, free: 361.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002066/8.363, allocations: 342.4 kB / 3.536 GB, free: 361.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/8.364, allocations: 132.6 kB / 3.536 GB, free: 361.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.484e-06/8.364, allocations: 0 / 3.536 GB, free: 361.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05435/8.419, allocations: 23.39 MB / 3.559 GB, free: 359.6 MB / 1.151 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