Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001756, allocations: 106.2 kB / 15.99 MB, free: 6.352 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.001963/0.001963, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.7107 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 70.03 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6566/0.9561, allocations: 154.6 MB / 1.168 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.9841, allocations: 21.49 MB / 1.189 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.9863, allocations: 50.44 kB / 1.189 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.9882, allocations: 1.132 MB / 1.191 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.9898, allocations: 0.8208 MB / 1.191 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.9911, allocations: 374.5 kB / 1.192 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.9927, allocations: 1.256 MB / 1.193 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009715/0.9937, allocations: 0.6971 MB / 1.194 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.9945, allocations: 0.5507 MB / 1.194 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.9957, allocations: 0.9533 MB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.9959, allocations: 65.25 kB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.9961, allocations: 108.8 kB / 1.195 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.9965, allocations: 337.8 kB / 1.196 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.997, allocations: 498.1 kB / 1.196 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.998, allocations: 0.9243 MB / 1.197 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.998, allocations: 6.109 kB / 1.197 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.998, allocations: 4 kB / 1.197 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.9981, allocations: 0 / 1.197 GB, free: 12.69 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002397/1, allocations: 1.482 MB / 1.198 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/1.001, allocations: 11.3 kB / 1.198 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/1.001, allocations: 130.1 kB / 1.199 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/1.002, allocations: 0.6614 MB / 1.199 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/1.002, allocations: 71.88 kB / 1.199 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/1.002, allocations: 48.5 kB / 1.199 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000972/1.003, allocations: 0.5144 MB / 1.2 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.003, allocations: 0 / 1.2 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/1.003, allocations: 16.31 kB / 1.2 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/1.003, allocations: 14.81 kB / 1.2 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/1.004, allocations: 414.5 kB / 1.2 GB, free: 10.3 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/1.008, allocations: 2.802 MB / 1.203 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.009, allocations: 461.3 kB / 1.203 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/1.009, allocations: 289.7 kB / 1.204 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/1.009, allocations: 6.438 kB / 1.204 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/1.01, allocations: 305.2 kB / 1.204 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.484e-06/1.01, allocations: 0 / 1.204 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003039/1.013, allocations: 1.245 MB / 1.205 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.013, allocations: 55.72 kB / 1.205 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.015, allocations: 1.75 MB / 1.207 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/1.015, allocations: 35.8 kB / 1.207 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/1.015, allocations: 0.5215 MB / 1.208 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.016, allocations: 145.6 kB / 1.208 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.016, allocations: 102.9 kB / 1.208 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.016, allocations: 327 kB / 1.208 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/1.016, allocations: 215.6 kB / 1.208 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/1.017, allocations: 330.2 kB / 1.209 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/1.018, allocations: 0.5095 MB / 1.209 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.018, allocations: 0 / 1.209 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001642/1.02, allocations: 0.845 MB / 1.21 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.02, allocations: 9.766 kB / 1.21 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.02, allocations: 4.875 kB / 1.21 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/1.02, allocations: 183.8 kB / 1.21 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/1.02, allocations: 91.84 kB / 1.21 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/1.024, allocations: 3.016 MB / 1.213 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/1.025, allocations: 79.55 kB / 1.213 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/1.025, allocations: 23.98 kB / 1.213 GB, free: 0.5742 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005798/1.025, allocations: 379.4 kB / 1.214 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.026, allocations: 122.4 kB / 1.214 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/1.026, allocations: 135.7 kB / 1.214 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.026, allocations: 4 kB / 1.214 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.026, allocations: 4 kB / 1.214 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.026, allocations: 7.984 kB / 1.214 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/1.029, allocations: 1.562 MB / 1.215 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.029, allocations: 4 kB / 1.215 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/1.029, allocations: 47.91 kB / 1.215 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005257/1.029, allocations: 198.5 kB / 1.216 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/1.03, allocations: 15.98 kB / 1.216 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/1.035, allocations: 4.562 MB / 1.22 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.035, allocations: 0 / 1.22 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.037, allocations: 1.061 MB / 1.221 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/1.037, allocations: 211.6 kB / 1.221 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.037, allocations: 15.98 kB / 1.221 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/1.038, allocations: 35.97 kB / 1.221 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.038, allocations: 47.92 kB / 1.221 GB, free: 7.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/1.038, allocations: 19.98 kB / 1.221 GB, free: 7.777 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001618/1.04, allocations: 1.277 MB / 1.223 GB, free: 6.496 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.9e-07/1.04, allocations: 0 / 1.223 GB, free: 6.496 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009515/1.04, allocations: 223.6 kB / 1.223 GB, free: 6.277 MB / 0.92 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001764/1.042, allocations: 487.2 kB / 1.223 GB, free: 5.977 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.044, allocations: 0.7501 MB / 1.224 GB, free: 5.211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.044, allocations: 0 / 1.224 GB, free: 5.211 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.045, allocations: 0.5556 MB / 1.225 GB, free: 4.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.046, allocations: 217.3 kB / 1.225 GB, free: 4.426 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/1.051, allocations: 2.745 MB / 1.228 GB, free: 1.641 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/1.052, allocations: 1.146 MB / 1.229 GB, free: 480 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.052, allocations: 47.42 kB / 1.229 GB, free: 436 kB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/1.052, allocations: 4 kB / 1.229 GB, free: 432 kB / 0.92 GB Notification: Performance of Templates: time 0.02678/1.078, allocations: 17.82 MB / 1.246 GB, free: 14.63 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches