Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_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_latest_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.001763/0.001763, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001972/0.001972, allocations: 183 kB / 17.34 MB, free: 5.762 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.402/1.402, 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.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 64.12 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8834, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.175/1.058, allocations: 158.3 MB / 1.363 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0277/1.086, allocations: 22.25 MB / 1.385 GB, free: 8.414 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/1.089, allocations: 67.62 kB / 1.385 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/1.091, allocations: 1.983 MB / 1.387 GB, free: 6.359 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/1.094, allocations: 1.324 MB / 1.388 GB, free: 5.031 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/1.096, allocations: 0.6807 MB / 1.389 GB, free: 4.355 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002564/1.098, allocations: 1.958 MB / 1.391 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.1, allocations: 1.152 MB / 1.392 GB, free: 1.223 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/1.102, allocations: 0.8956 MB / 1.393 GB, free: 332 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/1.103, allocations: 1.444 MB / 1.394 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003065/1.104, allocations: 104 kB / 1.394 GB, free: 14.78 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/1.104, allocations: 156 kB / 1.394 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004672/1.105, allocations: 0.5272 MB / 1.395 GB, free: 14.1 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008992/1.106, allocations: 0.8263 MB / 1.396 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/1.108, allocations: 1.975 MB / 1.398 GB, free: 11.29 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.108, allocations: 0 / 1.398 GB, free: 11.29 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.234e-06/1.108, allocations: 0 / 1.398 GB, free: 11.29 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.408e-05/1.108, allocations: 0 / 1.398 GB, free: 11.29 MB / 1.123 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.004044/1.112, allocations: 2.385 MB / 1.4 GB, free: 8.84 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.112, allocations: 8.031 kB / 1.4 GB, free: 8.832 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/1.112, allocations: 245.8 kB / 1.4 GB, free: 8.59 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/1.114, allocations: 1.062 MB / 1.401 GB, free: 7.457 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/1.114, allocations: 99.69 kB / 1.401 GB, free: 7.355 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.114, allocations: 87.92 kB / 1.401 GB, free: 7.27 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/1.116, allocations: 0.8613 MB / 1.402 GB, free: 6.375 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/1.116, allocations: 3.938 kB / 1.402 GB, free: 6.371 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/1.116, allocations: 36 kB / 1.402 GB, free: 6.336 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/1.116, allocations: 24 kB / 1.402 GB, free: 6.312 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/1.117, allocations: 0.6402 MB / 1.403 GB, free: 5.676 MB / 1.123 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.005862/1.123, allocations: 4.158 MB / 1.407 GB, free: 1.203 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/1.125, allocations: 0.7105 MB / 1.408 GB, free: 496 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/1.126, allocations: 417.3 kB / 1.408 GB, free: 80 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/1.126, allocations: 16.64 kB / 1.408 GB, free: 64 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008604/1.127, allocations: 444 kB / 1.408 GB, free: 15.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 3.156e-06/1.127, allocations: 0 / 1.408 GB, free: 15.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.006252/1.133, allocations: 2.107 MB / 1.41 GB, free: 13.46 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/1.133, allocations: 85.77 kB / 1.411 GB, free: 13.35 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/1.137, allocations: 3.195 MB / 1.414 GB, free: 10.13 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.137, allocations: 49.69 kB / 1.414 GB, free: 10.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008159/1.138, allocations: 0.9645 MB / 1.415 GB, free: 9.102 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.138, allocations: 252.4 kB / 1.415 GB, free: 8.852 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/1.138, allocations: 154.7 kB / 1.415 GB, free: 8.695 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.138, allocations: 345.9 kB / 1.415 GB, free: 8.352 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/1.139, allocations: 305.8 kB / 1.416 GB, free: 8.055 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/1.14, allocations: 473.3 kB / 1.416 GB, free: 7.539 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/1.141, allocations: 0.7422 MB / 1.417 GB, free: 6.754 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.141, allocations: 0 / 1.417 GB, free: 6.754 MB / 1.139 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002545/1.144, allocations: 1.234 MB / 1.418 GB, free: 5.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.144, allocations: 8 kB / 1.418 GB, free: 5.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.144, allocations: 4 kB / 1.418 GB, free: 5.488 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/1.145, allocations: 320 kB / 1.418 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/1.146, allocations: 135.8 kB / 1.418 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/1.152, allocations: 4.048 MB / 1.422 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/1.153, allocations: 107.2 kB / 1.423 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/1.153, allocations: 32 kB / 1.423 GB, free: 0.7266 MB / 1.139 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.0008685/1.154, allocations: 0.5949 MB / 1.423 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/1.154, allocations: 209.5 kB / 1.423 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/1.155, allocations: 253.5 kB / 1.424 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.155, allocations: 8 kB / 1.424 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.155, allocations: 3.984 kB / 1.424 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.155, allocations: 0 / 1.424 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/1.159, allocations: 2.413 MB / 1.426 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.159, allocations: 0 / 1.426 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/1.159, allocations: 71.89 kB / 1.426 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009346/1.16, allocations: 337.7 kB / 1.426 GB, free: 12.76 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/1.16, allocations: 27.92 kB / 1.426 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007186/1.167, allocations: 5.529 MB / 1.432 GB, free: 6.926 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.167, allocations: 11.97 kB / 1.432 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/1.17, allocations: 1.569 MB / 1.433 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/1.171, allocations: 314.3 kB / 1.434 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.171, allocations: 23.92 kB / 1.434 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/1.172, allocations: 47.95 kB / 1.434 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/1.172, allocations: 92.53 kB / 1.434 GB, free: 4.832 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/1.172, allocations: 27.98 kB / 1.434 GB, free: 4.805 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002738/1.175, allocations: 2.334 MB / 1.436 GB, free: 2.457 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.175, allocations: 0 / 1.436 GB, free: 2.457 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001114/1.176, allocations: 319.4 kB / 1.436 GB, free: 2.145 MB / 1.154 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.001159/1.177, allocations: 0.4959 MB / 1.437 GB, free: 1.828 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002217/1.179, allocations: 1.034 MB / 1.438 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.179, allocations: 0 / 1.438 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/1.181, allocations: 0.7661 MB / 1.439 GB, free: 15.98 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.182, allocations: 305.8 kB / 1.439 GB, free: 15.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/1.189, allocations: 4.138 MB / 1.443 GB, free: 11.52 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.19, allocations: 1.524 MB / 1.444 GB, free: 9.965 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/1.19, allocations: 71.42 kB / 1.445 GB, free: 9.895 MB / 1.17 GB Notification: Performance of SimCode: time 3.51e-07/1.19, allocations: 0 / 1.445 GB, free: 9.895 MB / 1.17 GB Notification: Performance of Templates: time 0.04763/1.238, allocations: 32.44 MB / 1.476 GB, free: 9.484 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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