Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 110.8 kB / 16.41 MB, free: 6.477 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.001658/0.001658, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.433/1.433, 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.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.9653, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.2/1.165, allocations: 158.3 MB / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02869/1.194, allocations: 22.23 MB / 1.265 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/1.197, allocations: 67.62 kB / 1.265 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/1.2, allocations: 1.975 MB / 1.267 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/1.203, allocations: 1.343 MB / 1.268 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/1.205, allocations: 0.6909 MB / 1.269 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003082/1.208, allocations: 1.966 MB / 1.271 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/1.21, allocations: 1.144 MB / 1.272 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/1.212, allocations: 0.9035 MB / 1.273 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/1.214, allocations: 1.447 MB / 1.274 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00036/1.214, allocations: 108 kB / 1.274 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/1.215, allocations: 152 kB / 1.274 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000583/1.216, allocations: 0.5233 MB / 1.275 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/1.217, allocations: 0.8224 MB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/1.219, allocations: 1.971 MB / 1.278 GB, free: 11.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.219, allocations: 4 kB / 1.278 GB, free: 11.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.475e-06/1.219, allocations: 0 / 1.278 GB, free: 11.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.195e-05/1.219, allocations: 0 / 1.278 GB, free: 11.98 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004144/1.224, allocations: 2.377 MB / 1.28 GB, free: 9.543 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.224, allocations: 12.03 kB / 1.28 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/1.224, allocations: 249.9 kB / 1.28 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.225, allocations: 1.058 MB / 1.281 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.226, allocations: 99.69 kB / 1.281 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.226, allocations: 91.89 kB / 1.281 GB, free: 7.965 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.227, allocations: 0.8612 MB / 1.282 GB, free: 7.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.227, allocations: 0 / 1.282 GB, free: 7.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/1.227, allocations: 36 kB / 1.282 GB, free: 7.035 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/1.227, allocations: 20 kB / 1.282 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/1.229, allocations: 0.6479 MB / 1.283 GB, free: 6.367 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.005409/1.234, allocations: 4.165 MB / 1.287 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/1.236, allocations: 0.708 MB / 1.288 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/1.236, allocations: 423.2 kB / 1.288 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/1.236, allocations: 12.64 kB / 1.288 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/1.237, allocations: 428.2 kB / 1.289 GB, free: 328 kB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.796e-06/1.237, allocations: 4 kB / 1.289 GB, free: 324 kB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.006095/1.243, allocations: 2.099 MB / 1.291 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.243, allocations: 93.69 kB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/1.247, allocations: 3.195 MB / 1.294 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/1.247, allocations: 45.7 kB / 1.294 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/1.248, allocations: 0.9683 MB / 1.295 GB, free: 9.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.248, allocations: 260.5 kB / 1.295 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.249, allocations: 154.6 kB / 1.295 GB, free: 9.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.249, allocations: 338 kB / 1.296 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/1.249, allocations: 309.8 kB / 1.296 GB, free: 8.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/1.25, allocations: 469.4 kB / 1.296 GB, free: 8.238 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/1.252, allocations: 0.7382 MB / 1.297 GB, free: 7.453 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.252, allocations: 0 / 1.297 GB, free: 7.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002482/1.254, allocations: 1.238 MB / 1.298 GB, free: 6.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.254, allocations: 11.94 kB / 1.298 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.254, allocations: 8.219 kB / 1.298 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009728/1.255, allocations: 322.8 kB / 1.299 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/1.256, allocations: 127.8 kB / 1.299 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/1.262, allocations: 4.066 MB / 1.303 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/1.262, allocations: 99.22 kB / 1.303 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/1.262, allocations: 35.98 kB / 1.303 GB, free: 1.414 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0008989/1.263, allocations: 0.5889 MB / 1.303 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/1.264, allocations: 213.3 kB / 1.304 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/1.264, allocations: 249.5 kB / 1.304 GB, free: 364 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.264, allocations: 8 kB / 1.304 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.264, allocations: 7.938 kB / 1.304 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.264, allocations: 3.984 kB / 1.304 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/1.268, allocations: 2.409 MB / 1.306 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.268, allocations: 0 / 1.306 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/1.268, allocations: 67.89 kB / 1.306 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009117/1.269, allocations: 333.4 kB / 1.307 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/1.269, allocations: 23.98 kB / 1.307 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006901/1.276, allocations: 5.541 MB / 1.312 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.276, allocations: 3.938 kB / 1.312 GB, free: 7.613 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/1.279, allocations: 1.573 MB / 1.314 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/1.28, allocations: 314.3 kB / 1.314 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.28, allocations: 23.94 kB / 1.314 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/1.28, allocations: 39.95 kB / 1.314 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.281, allocations: 100.5 kB / 1.314 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/1.281, allocations: 27.98 kB / 1.314 GB, free: 5.504 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002559/1.283, allocations: 2.337 MB / 1.316 GB, free: 3.152 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.655e-06/1.283, allocations: 0 / 1.316 GB, free: 3.152 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001088/1.284, allocations: 327.3 kB / 1.317 GB, free: 2.832 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: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/1.286, allocations: 494.2 kB / 1.317 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002227/1.288, allocations: 1.019 MB / 1.318 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.288, allocations: 4.125 kB / 1.318 GB, free: 1.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.289, allocations: 0.7811 MB / 1.319 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.291, allocations: 302.5 kB / 1.319 GB, free: 400 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/1.297, allocations: 4.137 MB / 1.323 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.298, allocations: 1.524 MB / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/1.298, allocations: 67.42 kB / 1.325 GB, free: 10.59 MB / 1.061 GB Notification: Performance of SimCode: time 9.92e-07/1.298, allocations: 0 / 1.325 GB, free: 10.59 MB / 1.061 GB Notification: Performance of Templates: time 0.04715/1.346, allocations: 32.44 MB / 1.356 GB, free: 10.18 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[2],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[2],time