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.001699/0.001699, allocations: 100.3 kB / 16.41 MB, free: 6.508 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.001695/0.001695, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.476/1.476, 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.349/2.349, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.2168/1.297, allocations: 157.9 MB / 1.243 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03065/1.328, allocations: 22.12 MB / 1.264 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003583/1.331, allocations: 67.62 kB / 1.264 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/1.334, allocations: 1.379 MB / 1.266 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002791/1.337, allocations: 1.035 MB / 1.267 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/1.339, allocations: 0.6422 MB / 1.267 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003036/1.342, allocations: 1.7 MB / 1.269 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/1.344, allocations: 0.9705 MB / 1.27 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/1.346, allocations: 0.7437 MB / 1.271 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/1.348, allocations: 1.183 MB / 1.272 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/1.348, allocations: 92 kB / 1.272 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006294/1.349, allocations: 147.9 kB / 1.272 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/1.349, allocations: 412.4 kB / 1.273 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/1.35, allocations: 0.6636 MB / 1.273 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/1.353, allocations: 1.601 MB / 1.275 GB, free: 15.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.353, allocations: 0 / 1.275 GB, free: 15.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.595e-06/1.353, allocations: 0 / 1.275 GB, free: 15.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.43e-05/1.353, allocations: 0 / 1.275 GB, free: 15.05 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.004176/1.357, allocations: 1.915 MB / 1.277 GB, free: 13.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.357, allocations: 12.03 kB / 1.277 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/1.357, allocations: 186.7 kB / 1.277 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/1.359, allocations: 0.8904 MB / 1.278 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.359, allocations: 87 kB / 1.278 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.359, allocations: 68 kB / 1.278 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.361, allocations: 0.7215 MB / 1.279 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.361, allocations: 0 / 1.279 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/1.361, allocations: 28 kB / 1.279 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/1.361, allocations: 19.98 kB / 1.279 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.362, allocations: 0.5321 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.004897/1.367, allocations: 3.609 MB / 1.283 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.368, allocations: 0.6081 MB / 1.283 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/1.369, allocations: 378.1 kB / 1.284 GB, free: 5.574 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/1.369, allocations: 12.56 kB / 1.284 GB, free: 5.559 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007257/1.37, allocations: 378.9 kB / 1.284 GB, free: 5.176 MB / 1.014 GB Notification: Performance of pre-optimization done (n=65): time 2.405e-06/1.37, allocations: 4 kB / 1.284 GB, free: 5.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=65): time 0.004834/1.375, allocations: 1.777 MB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.375, allocations: 63.95 kB / 1.286 GB, free: 3.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/1.378, allocations: 2.251 MB / 1.288 GB, free: 1.012 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/1.378, allocations: 49.69 kB / 1.288 GB, free: 0.957 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/1.378, allocations: 0.7148 MB / 1.289 GB, free: 240 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/1.379, allocations: 213 kB / 1.289 GB, free: 24 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/1.379, allocations: 126.7 kB / 1.289 GB, free: 15.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.379, allocations: 341.9 kB / 1.289 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/1.38, allocations: 277.8 kB / 1.29 GB, free: 15.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/1.38, allocations: 420.8 kB / 1.29 GB, free: 14.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/1.382, allocations: 0.6651 MB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/1.382, allocations: 4 kB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002386/1.384, allocations: 1.114 MB / 1.292 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.384, allocations: 4 kB / 1.292 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.384, allocations: 4 kB / 1.292 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008693/1.385, allocations: 282.2 kB / 1.292 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/1.385, allocations: 123.7 kB / 1.292 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/1.392, allocations: 3.702 MB / 1.296 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/1.392, allocations: 95.23 kB / 1.296 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/1.392, allocations: 31.92 kB / 1.296 GB, free: 8.613 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.0008593/1.393, allocations: 462.5 kB / 1.296 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/1.394, allocations: 154 kB / 1.296 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/1.394, allocations: 187.7 kB / 1.297 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.394, allocations: 4 kB / 1.297 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.394, allocations: 7.922 kB / 1.297 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.394, allocations: 0 / 1.297 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/1.398, allocations: 2.041 MB / 1.299 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.398, allocations: 3.938 kB / 1.299 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/1.398, allocations: 55.95 kB / 1.299 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007766/1.399, allocations: 279.7 kB / 1.299 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/1.399, allocations: 15.98 kB / 1.299 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/1.405, allocations: 5.233 MB / 1.304 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.405, allocations: 0 / 1.304 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/1.408, allocations: 1.402 MB / 1.305 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/1.409, allocations: 267 kB / 1.306 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.409, allocations: 19.98 kB / 1.306 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/1.409, allocations: 27.97 kB / 1.306 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/1.41, allocations: 80.31 kB / 1.306 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/1.41, allocations: 20 kB / 1.306 GB, free: 13.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002012/1.412, allocations: 1.635 MB / 1.307 GB, free: 12.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.412, allocations: 0 / 1.307 GB, free: 12.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001048/1.413, allocations: 276.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.001231/1.414, allocations: 489.7 kB / 1.308 GB, free: 11.78 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00203/1.416, allocations: 0.8995 MB / 1.309 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.416, allocations: 8.062 kB / 1.309 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/1.417, allocations: 0.6748 MB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.419, allocations: 282.2 kB / 1.31 GB, free: 9.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/1.425, allocations: 3.136 MB / 1.313 GB, free: 6.727 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/1.427, allocations: 1.311 MB / 1.314 GB, free: 5.387 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/1.428, allocations: 59.42 kB / 1.314 GB, free: 5.328 MB / 1.045 GB Notification: Performance of SimCode: time 1.583e-06/1.428, allocations: 4 kB / 1.314 GB, free: 5.324 MB / 1.045 GB Notification: Performance of Templates: time 0.04385/1.471, 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