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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007526/0.007526, allocations: 100.4 kB / 15.87 MB, free: 6.305 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.001869/0.001869, allocations: 199 kB / 16.79 MB, free: 6.238 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7653/0.7667, allocations: 140.3 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.166/0.9327, allocations: 154.8 MB / 1.101 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.9568, allocations: 21.73 MB / 1.122 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.959, allocations: 51.69 kB / 1.122 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.9607, allocations: 1.306 MB / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.9622, allocations: 0.9345 MB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.9634, allocations: 459.8 kB / 1.125 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.9649, allocations: 1.52 MB / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/0.9656, allocations: 0.7114 MB / 1.127 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.9663, allocations: 0.5723 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.9673, allocations: 1.094 MB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.9674, allocations: 40 kB / 1.128 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.9677, allocations: 91.92 kB / 1.129 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.968, allocations: 360.5 kB / 1.129 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.9684, allocations: 0.5275 MB / 1.129 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.9693, allocations: 1.033 MB / 1.13 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9693, allocations: 0 / 1.13 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9693, allocations: 4 kB / 1.13 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.9694, allocations: 0 / 1.13 GB, free: 8.301 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.003018/0.9724, allocations: 1.682 MB / 1.132 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.9724, allocations: 12.03 kB / 1.132 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.9727, allocations: 162.9 kB / 1.132 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/0.9737, allocations: 0.7399 MB / 1.133 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.9739, allocations: 78.69 kB / 1.133 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.974, allocations: 48 kB / 1.133 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.975, allocations: 0.5692 MB / 1.134 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.9751, allocations: 4 kB / 1.134 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.9751, allocations: 20 kB / 1.134 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.9752, allocations: 15.98 kB / 1.134 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009167/0.9761, allocations: 451.6 kB / 1.134 GB, free: 4.406 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.003787/0.9799, allocations: 3.01 MB / 1.137 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.9812, allocations: 0.4996 MB / 1.138 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.9818, allocations: 317.4 kB / 1.138 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.9818, allocations: 12.36 kB / 1.138 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006091/0.9824, allocations: 329.2 kB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.024e-06/0.9825, allocations: 0 / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.003062/0.9855, allocations: 1.344 MB / 1.139 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.9856, allocations: 55.84 kB / 1.139 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.9877, allocations: 2.12 MB / 1.142 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.9877, allocations: 41.7 kB / 1.142 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.9882, allocations: 0.6206 MB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.9884, allocations: 173.5 kB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.9885, allocations: 106.3 kB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9886, allocations: 326 kB / 1.143 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.9891, allocations: 237.2 kB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.9897, allocations: 357.8 kB / 1.143 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009261/0.9906, allocations: 0.5488 MB / 1.144 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.9907, allocations: 3.938 kB / 1.144 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001658/0.9923, allocations: 0.9086 MB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.9924, allocations: 12.03 kB / 1.145 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9924, allocations: 7.984 kB / 1.145 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.9929, allocations: 184.8 kB / 1.145 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.9933, allocations: 111.7 kB / 1.145 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/0.9966, allocations: 2.799 MB / 1.148 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.997, allocations: 87.44 kB / 1.148 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.9971, allocations: 23.94 kB / 1.148 GB, free: 5.598 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.0005337/0.9976, allocations: 439.8 kB / 1.148 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.9978, allocations: 138.2 kB / 1.148 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.998, allocations: 166 kB / 1.149 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.998, allocations: 4 kB / 1.149 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.998, allocations: 4 kB / 1.149 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.998, allocations: 7.922 kB / 1.149 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/1.001, allocations: 1.726 MB / 1.15 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.001, allocations: 0 / 1.15 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/1.001, allocations: 51.91 kB / 1.15 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/1.001, allocations: 207.1 kB / 1.151 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/1.001, allocations: 15.98 kB / 1.151 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/1.006, allocations: 4.179 MB / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.006, allocations: 0 / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.008, allocations: 1.154 MB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/1.008, allocations: 243.3 kB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.008, allocations: 15.98 kB / 1.156 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/1.009, allocations: 39.88 kB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.009, allocations: 60.28 kB / 1.156 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/1.009, allocations: 19.98 kB / 1.156 GB, free: 12.76 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001831/1.011, allocations: 1.549 MB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.011, allocations: 0 / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008879/1.011, allocations: 227.7 kB / 1.158 GB, free: 10.99 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.00127/1.013, allocations: 0.4937 MB / 1.158 GB, free: 10.67 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001674/1.014, allocations: 0.7567 MB / 1.159 GB, free: 9.902 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.014, allocations: 0 / 1.159 GB, free: 9.902 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009773/1.015, allocations: 0.5782 MB / 1.16 GB, free: 9.297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.017, allocations: 208.6 kB / 1.16 GB, free: 9.102 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/1.022, allocations: 3.245 MB / 1.163 GB, free: 5.816 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/1.023, allocations: 1.228 MB / 1.164 GB, free: 4.559 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.023, allocations: 59.42 kB / 1.164 GB, free: 4.504 MB / 0.92 GB Notification: Performance of SimCode: time 8.21e-07/1.023, allocations: 0 / 1.164 GB, free: 4.504 MB / 0.92 GB Notification: Performance of Templates: time 0.03141/1.054, allocations: 20.37 MB / 1.184 GB, free: 180 kB / 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/jenkins1/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