Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001592/0.001592, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.501/1.501, 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 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.128, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.2347/1.363, allocations: 157.9 MB / 1.243 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03167/1.395, allocations: 22.12 MB / 1.264 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/1.399, allocations: 67.62 kB / 1.264 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/1.401, allocations: 1.383 MB / 1.266 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002706/1.404, allocations: 1.016 MB / 1.267 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/1.406, allocations: 0.6425 MB / 1.267 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002991/1.409, allocations: 1.692 MB / 1.269 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.411, allocations: 0.9743 MB / 1.27 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/1.413, allocations: 0.732 MB / 1.271 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/1.415, allocations: 1.195 MB / 1.272 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/1.415, allocations: 92 kB / 1.272 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/1.415, allocations: 140 kB / 1.272 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/1.416, allocations: 416.3 kB / 1.273 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006931/1.416, allocations: 0.6558 MB / 1.273 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/1.418, allocations: 1.605 MB / 1.275 GB, free: 15.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.418, allocations: 0 / 1.275 GB, free: 15.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.983e-06/1.418, allocations: 0 / 1.275 GB, free: 15.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.76e-05/1.418, allocations: 0 / 1.275 GB, free: 15.04 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003364/1.422, allocations: 1.911 MB / 1.277 GB, free: 13.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.422, allocations: 8.031 kB / 1.277 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/1.422, allocations: 186.7 kB / 1.277 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.424, allocations: 0.8905 MB / 1.278 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/1.424, allocations: 90.94 kB / 1.278 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.424, allocations: 64 kB / 1.278 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.425, allocations: 0.7176 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/1.425, allocations: 4 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/1.425, allocations: 24 kB / 1.279 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/1.425, allocations: 16 kB / 1.279 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.427, allocations: 0.5476 MB / 1.279 GB, free: 10.45 MB / 1.014 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.004875/1.431, allocations: 3.613 MB / 1.283 GB, free: 6.551 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/1.433, allocations: 0.6042 MB / 1.283 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/1.433, allocations: 382.1 kB / 1.284 GB, free: 5.566 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/1.434, allocations: 12.5 kB / 1.284 GB, free: 5.551 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007181/1.434, allocations: 378.9 kB / 1.284 GB, free: 5.168 MB / 1.014 GB Notification: Performance of pre-optimization done (n=65): time 3.757e-06/1.434, allocations: 4 kB / 1.284 GB, free: 5.164 MB / 1.014 GB Notification: Performance of matching and sorting (n=65): time 0.004822/1.439, allocations: 1.769 MB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/1.439, allocations: 67.95 kB / 1.286 GB, free: 3.266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/1.442, allocations: 2.255 MB / 1.288 GB, free: 1.004 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/1.442, allocations: 45.7 kB / 1.288 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/1.442, allocations: 0.7148 MB / 1.289 GB, free: 236 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.442, allocations: 209 kB / 1.289 GB, free: 24 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.443, allocations: 134.7 kB / 1.289 GB, free: 15.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.443, allocations: 337.9 kB / 1.289 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/1.443, allocations: 281.8 kB / 1.29 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/1.444, allocations: 416.8 kB / 1.29 GB, free: 14.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.445, allocations: 0.6645 MB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.445, allocations: 4 kB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002243/1.448, allocations: 1.114 MB / 1.292 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.448, allocations: 8 kB / 1.292 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.448, allocations: 4 kB / 1.292 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008124/1.448, allocations: 274.3 kB / 1.292 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/1.449, allocations: 127.7 kB / 1.292 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/1.454, allocations: 3.697 MB / 1.296 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/1.455, allocations: 95.3 kB / 1.296 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/1.455, allocations: 28 kB / 1.296 GB, free: 8.625 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007801/1.455, allocations: 462.4 kB / 1.296 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.456, allocations: 158 kB / 1.296 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/1.456, allocations: 191.6 kB / 1.297 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.456, allocations: 8 kB / 1.297 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.456, allocations: 3.938 kB / 1.297 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.456, allocations: 7.922 kB / 1.297 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.459, allocations: 2.041 MB / 1.299 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.459, allocations: 3.938 kB / 1.299 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/1.46, allocations: 63.89 kB / 1.299 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000754/1.46, allocations: 269.5 kB / 1.299 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.46, allocations: 19.98 kB / 1.299 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/1.466, allocations: 5.226 MB / 1.304 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.466, allocations: 4.031 kB / 1.304 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/1.469, allocations: 1.402 MB / 1.305 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/1.469, allocations: 267 kB / 1.306 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.469, allocations: 19.98 kB / 1.306 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/1.47, allocations: 31.97 kB / 1.306 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.47, allocations: 72.31 kB / 1.306 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/1.47, allocations: 24 kB / 1.306 GB, free: 13.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001768/1.472, allocations: 1.635 MB / 1.307 GB, free: 12.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.1e-07/1.472, allocations: 0 / 1.307 GB, free: 12.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009762/1.473, allocations: 272.1 kB / 1.308 GB, free: 12.08 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/1.474, allocations: 494.4 kB / 1.308 GB, free: 11.78 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.476, allocations: 0.9029 MB / 1.309 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.476, allocations: 0.5 kB / 1.309 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.477, allocations: 0.6826 MB / 1.31 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.479, allocations: 283.2 kB / 1.31 GB, free: 9.883 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/1.483, allocations: 3.133 MB / 1.313 GB, free: 6.715 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/1.484, allocations: 1.307 MB / 1.314 GB, free: 5.379 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.484, allocations: 67.36 kB / 1.314 GB, free: 5.312 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/1.484, allocations: 0 / 1.314 GB, free: 5.312 MB / 1.045 GB Notification: Performance of Templates: time 0.03388/1.518, allocations: 23.73 MB / 1.338 GB, free: 13.62 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time