Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001626/0.001626, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.347/2.347, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.88 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9091, allocations: 140.3 MB / 0.9489 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1904/1.1, allocations: 154.8 MB / 1.1 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03368/1.133, allocations: 21.72 MB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/1.137, allocations: 51.69 kB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/1.139, allocations: 1.313 MB / 1.123 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002767/1.142, allocations: 0.9228 MB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/1.144, allocations: 451.9 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003415/1.148, allocations: 1.524 MB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/1.149, allocations: 0.7078 MB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/1.151, allocations: 0.5761 MB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/1.153, allocations: 1.098 MB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/1.153, allocations: 40 kB / 1.128 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/1.154, allocations: 91.92 kB / 1.128 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/1.154, allocations: 360.5 kB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/1.155, allocations: 0.5236 MB / 1.129 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/1.157, allocations: 1.312 MB / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.157, allocations: 0 / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/1.157, allocations: 0 / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.035e-05/1.157, allocations: 0 / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003886/1.161, allocations: 1.691 MB / 1.132 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.161, allocations: 11.97 kB / 1.132 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/1.161, allocations: 163 kB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.162, allocations: 0.7477 MB / 1.133 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/1.163, allocations: 74.69 kB / 1.133 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.163, allocations: 52 kB / 1.133 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.164, allocations: 0.5692 MB / 1.133 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.164, allocations: 0 / 1.133 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.164, allocations: 23.98 kB / 1.133 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/1.164, allocations: 12 kB / 1.133 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.166, allocations: 447.7 kB / 1.134 GB, free: 4.32 MB / 0.8887 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.005557/1.171, allocations: 3.017 MB / 1.137 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.173, allocations: 0.4952 MB / 1.137 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/1.174, allocations: 309.4 kB / 1.137 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/1.174, allocations: 4.375 kB / 1.137 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009416/1.175, allocations: 337.1 kB / 1.138 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 4.068e-06/1.175, allocations: 0 / 1.138 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.004655/1.18, allocations: 1.352 MB / 1.139 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.18, allocations: 55.84 kB / 1.139 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/1.183, allocations: 2.12 MB / 1.141 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.319e-05/1.183, allocations: 37.7 kB / 1.141 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008528/1.184, allocations: 0.6323 MB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/1.184, allocations: 165.7 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/1.185, allocations: 106.3 kB / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.185, allocations: 330 kB / 1.142 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/1.186, allocations: 237.2 kB / 1.143 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/1.187, allocations: 349.8 kB / 1.143 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/1.188, allocations: 0.5488 MB / 1.144 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.188, allocations: 0.5469 kB / 1.144 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002985/1.191, allocations: 0.9123 MB / 1.144 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.191, allocations: 12.22 kB / 1.144 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.191, allocations: 0 / 1.144 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008334/1.192, allocations: 188.7 kB / 1.145 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/1.193, allocations: 115.7 kB / 1.145 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/1.199, allocations: 2.791 MB / 1.147 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/1.2, allocations: 91.45 kB / 1.148 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/1.2, allocations: 23.94 kB / 1.148 GB, free: 5.516 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009944/1.201, allocations: 435.8 kB / 1.148 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/1.202, allocations: 138.2 kB / 1.148 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/1.202, allocations: 170 kB / 1.148 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.202, allocations: 4 kB / 1.148 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/1.202, allocations: 7.938 kB / 1.148 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.202, allocations: 3.984 kB / 1.148 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/1.206, allocations: 1.722 MB / 1.15 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.206, allocations: 0 / 1.15 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/1.207, allocations: 55.89 kB / 1.15 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007301/1.207, allocations: 207.4 kB / 1.15 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/1.208, allocations: 15.98 kB / 1.15 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007117/1.215, allocations: 4.175 MB / 1.154 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.215, allocations: 0 / 1.154 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.218, allocations: 1.158 MB / 1.155 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/1.218, allocations: 239.5 kB / 1.156 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.219, allocations: 20 kB / 1.156 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/1.219, allocations: 43.8 kB / 1.156 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.219, allocations: 60.34 kB / 1.156 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/1.22, allocations: 19.98 kB / 1.156 GB, free: 12.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002641/1.222, allocations: 1.545 MB / 1.157 GB, free: 11.13 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/1.222, allocations: 0 / 1.157 GB, free: 11.13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001524/1.224, allocations: 223.7 kB / 1.158 GB, free: 10.91 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001927/1.226, allocations: 0.4905 MB / 1.158 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002488/1.228, allocations: 0.7646 MB / 1.159 GB, free: 9.816 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.228, allocations: 0 / 1.159 GB, free: 9.816 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/1.23, allocations: 0.5743 MB / 1.159 GB, free: 9.215 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/1.231, allocations: 223.3 kB / 1.16 GB, free: 9.008 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/1.239, allocations: 3.181 MB / 1.163 GB, free: 5.797 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/1.241, allocations: 1.243 MB / 1.164 GB, free: 4.523 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007273/1.242, allocations: 109.1 kB / 1.164 GB, free: 4.414 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/1.242, allocations: 51.42 kB / 1.164 GB, free: 4.367 MB / 0.92 GB Notification: Performance of SimCode: time 1.583e-06/1.242, allocations: 0 / 1.164 GB, free: 4.367 MB / 0.92 GB Notification: Performance of Templates: time 0.03445/1.276, allocations: 10.78 MB / 1.175 GB, free: 9.719 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches