Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001105/0.001106, allocations: 106.6 kB / 16.37 MB, free: 6.008 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.00111/0.00111, allocations: 193.9 kB / 17.3 MB, free: 5.617 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.19 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2533, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.5904/0.8437, allocations: 157 MB / 1.18 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.8683, allocations: 21.88 MB / 1.201 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.8704, allocations: 56.81 kB / 1.202 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.8723, allocations: 1.343 MB / 1.203 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.8738, allocations: 0.9726 MB / 1.204 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.8751, allocations: 0.5001 MB / 1.204 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.8767, allocations: 1.43 MB / 1.206 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.8775, allocations: 0.7909 MB / 1.206 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.8782, allocations: 0.6445 MB / 1.207 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.8792, allocations: 1.105 MB / 1.208 GB, free: 124 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.8793, allocations: 78.47 kB / 1.208 GB, free: 116 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.8796, allocations: 120.7 kB / 1.208 GB, free: 96 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.8799, allocations: 363.6 kB / 1.209 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.8803, allocations: 0.5593 MB / 1.209 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.8814, allocations: 1.365 MB / 1.211 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8814, allocations: 0 / 1.211 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8815, allocations: 0 / 1.211 GB, free: 14.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.8815, allocations: 0 / 1.211 GB, free: 14.51 MB / 0.92 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.002381/0.8839, allocations: 1.683 MB / 1.212 GB, free: 13.2 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.8839, allocations: 10.34 kB / 1.212 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.8841, allocations: 158.8 kB / 1.212 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.8851, allocations: 0.7532 MB / 1.213 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.8852, allocations: 81.34 kB / 1.213 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.8853, allocations: 48.5 kB / 1.213 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.8863, allocations: 0.5708 MB / 1.214 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.8863, allocations: 3.906 kB / 1.214 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.8863, allocations: 28.52 kB / 1.214 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.8864, allocations: 12.78 kB / 1.214 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.8872, allocations: 448.4 kB / 1.214 GB, free: 11.84 MB / 0.92 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.003455/0.8906, allocations: 2.995 MB / 1.217 GB, free: 9.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.8916, allocations: 493.9 kB / 1.218 GB, free: 8.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.8922, allocations: 315.4 kB / 1.218 GB, free: 8.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.8923, allocations: 13.53 kB / 1.218 GB, free: 8.828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/0.8929, allocations: 332 kB / 1.218 GB, free: 8.621 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.305e-06/0.8929, allocations: 0 / 1.218 GB, free: 8.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=52): time 0.003015/0.8959, allocations: 1.347 MB / 1.22 GB, free: 7.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.896, allocations: 60.39 kB / 1.22 GB, free: 7.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.8982, allocations: 2.12 MB / 1.222 GB, free: 5.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.8983, allocations: 37.7 kB / 1.222 GB, free: 5.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.8989, allocations: 0.6245 MB / 1.222 GB, free: 4.434 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.899, allocations: 169.6 kB / 1.223 GB, free: 4.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.8992, allocations: 106.3 kB / 1.223 GB, free: 4.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8993, allocations: 337.9 kB / 1.223 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.8999, allocations: 233.2 kB / 1.223 GB, free: 3.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.9004, allocations: 343.1 kB / 1.223 GB, free: 3.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.9014, allocations: 0.5454 MB / 1.224 GB, free: 2.637 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9014, allocations: 0 / 1.224 GB, free: 2.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001696/0.9031, allocations: 0.9156 MB / 1.225 GB, free: 1.711 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9031, allocations: 8.219 kB / 1.225 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9031, allocations: 4 kB / 1.225 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.9037, allocations: 192.7 kB / 1.225 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.904, allocations: 103.8 kB / 1.225 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.9074, allocations: 3.047 MB / 1.228 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.9079, allocations: 71.56 kB / 1.228 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.908, allocations: 27.98 kB / 1.228 GB, free: 14.13 MB / 0.9356 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.0005397/0.9085, allocations: 439.7 kB / 1.229 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.9087, allocations: 134.2 kB / 1.229 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.9089, allocations: 174 kB / 1.229 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.9089, allocations: 4 kB / 1.229 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.909, allocations: 7.938 kB / 1.229 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.909, allocations: 3.984 kB / 1.229 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.9116, allocations: 1.738 MB / 1.231 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9116, allocations: 0 / 1.231 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.9119, allocations: 47.91 kB / 1.231 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.9124, allocations: 205.6 kB / 1.231 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.9124, allocations: 15.98 kB / 1.231 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/0.9167, allocations: 4.604 MB / 1.235 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9167, allocations: 3.938 kB / 1.235 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.9188, allocations: 1.155 MB / 1.237 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.9193, allocations: 243.3 kB / 1.237 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.9194, allocations: 16 kB / 1.237 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.9198, allocations: 35.95 kB / 1.237 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.9199, allocations: 52.36 kB / 1.237 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.92, allocations: 27.92 kB / 1.237 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001578/0.9216, allocations: 1.548 MB / 1.238 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9216, allocations: 0 / 1.238 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008081/0.9224, allocations: 227.6 kB / 1.239 GB, free: 3.078 MB / 0.9356 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.001082/0.9235, allocations: 486.8 kB / 1.239 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.9251, allocations: 0.7568 MB / 1.24 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9251, allocations: 0 / 1.24 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.9261, allocations: 0.5819 MB / 1.24 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.9272, allocations: 233.4 kB / 1.241 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.9316, allocations: 2.783 MB / 1.243 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.9325, allocations: 1.243 MB / 1.245 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003803/0.9328, allocations: 113 kB / 1.245 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.933, allocations: 51.42 kB / 1.245 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.933, allocations: 0 / 1.245 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of Templates: time 0.02122/0.9542, allocations: 11.45 MB / 1.256 GB, free: 1.625 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches