Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 249.9 MB, free: 13.63 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 489.7 MB / 0.7761 GB, free: 33.57 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.08 kB / 1.127 GB, free: 36.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3775, allocations: 172.1 MB / 1.295 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.2/0.5775, allocations: 158.5 MB / 1.45 GB, free: 12.62 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0323/0.6098, allocations: 22.19 MB / 1.471 GB, free: 6.363 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.6122, allocations: 71.62 kB / 1.471 GB, free: 6.293 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.6147, allocations: 1.379 MB / 1.473 GB, free: 4.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.6173, allocations: 1.031 MB / 1.474 GB, free: 3.875 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.6194, allocations: 0.6842 MB / 1.474 GB, free: 3.195 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.6224, allocations: 1.688 MB / 1.476 GB, free: 1.5 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.6241, allocations: 0.795 MB / 1.477 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.6256, allocations: 0.7436 MB / 1.478 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.6277, allocations: 1.288 MB / 1.479 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.628, allocations: 92 kB / 1.479 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.6286, allocations: 143.9 kB / 1.479 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006224/0.6292, allocations: 420.3 kB / 1.479 GB, free: 14 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009683/0.6302, allocations: 0.6519 MB / 1.48 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.6329, allocations: 1.622 MB / 1.482 GB, free: 11.72 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.6329, allocations: 0 / 1.482 GB, free: 11.72 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6329, allocations: 0 / 1.482 GB, free: 11.72 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.503e-05/0.633, allocations: 0 / 1.482 GB, free: 11.72 MB / 1.186 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.004225/0.6372, allocations: 1.968 MB / 1.484 GB, free: 9.688 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6372, allocations: 8.031 kB / 1.484 GB, free: 9.68 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.6377, allocations: 195.7 kB / 1.484 GB, free: 9.488 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.6395, allocations: 0.9076 MB / 1.485 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.6397, allocations: 87 kB / 1.485 GB, free: 8.445 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.6398, allocations: 64 kB / 1.485 GB, free: 8.383 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6413, allocations: 0.7176 MB / 1.485 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.6413, allocations: 8 kB / 1.485 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.6414, allocations: 20 kB / 1.486 GB, free: 7.609 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.6414, allocations: 19.98 kB / 1.486 GB, free: 7.59 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.6428, allocations: 0.5437 MB / 1.486 GB, free: 7.043 MB / 1.186 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.005951/0.6487, allocations: 3.61 MB / 1.49 GB, free: 3.148 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.6501, allocations: 0.5729 MB / 1.49 GB, free: 2.566 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.651, allocations: 350.9 kB / 1.49 GB, free: 2.223 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.651, allocations: 4.562 kB / 1.49 GB, free: 2.219 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008157/0.6518, allocations: 386.9 kB / 1.491 GB, free: 1.828 MB / 1.186 GB Notification: Performance of pre-optimization done (n=65): time 4.418e-06/0.6518, allocations: 0 / 1.491 GB, free: 1.828 MB / 1.186 GB Notification: Performance of matching and sorting (n=65): time 0.005137/0.657, allocations: 1.785 MB / 1.493 GB, free: 15.99 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.657, allocations: 59.91 kB / 1.493 GB, free: 15.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.6603, allocations: 2.251 MB / 1.495 GB, free: 13.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.6604, allocations: 45.69 kB / 1.495 GB, free: 13.61 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/0.6611, allocations: 0.7231 MB / 1.496 GB, free: 12.89 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.6613, allocations: 222.2 kB / 1.496 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.6616, allocations: 130.6 kB / 1.496 GB, free: 12.53 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.6618, allocations: 341.9 kB / 1.496 GB, free: 12.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.6625, allocations: 269.8 kB / 1.497 GB, free: 11.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/0.6633, allocations: 424.8 kB / 1.497 GB, free: 11.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.6646, allocations: 0.6616 MB / 1.498 GB, free: 10.75 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.6646, allocations: 0 / 1.498 GB, free: 10.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002772/0.6674, allocations: 1.117 MB / 1.499 GB, free: 9.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.6674, allocations: 4 kB / 1.499 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.6674, allocations: 4 kB / 1.499 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009544/0.6684, allocations: 277.4 kB / 1.499 GB, free: 9.344 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.6689, allocations: 123.7 kB / 1.499 GB, free: 9.223 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/0.6755, allocations: 3.709 MB / 1.503 GB, free: 5.391 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.6762, allocations: 95.47 kB / 1.503 GB, free: 5.297 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.6762, allocations: 31.98 kB / 1.503 GB, free: 5.266 MB / 1.201 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.0008355/0.6771, allocations: 459.8 kB / 1.503 GB, free: 4.805 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.6774, allocations: 162.9 kB / 1.503 GB, free: 4.645 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.6798, allocations: 1.012 MB / 1.504 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.6798, allocations: 11.94 kB / 1.504 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6798, allocations: 7.922 kB / 1.504 GB, free: 3.586 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6798, allocations: 0 / 1.504 GB, free: 3.586 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.684, allocations: 2.03 MB / 1.506 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.684, allocations: 0 / 1.506 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.6843, allocations: 59.95 kB / 1.506 GB, free: 1.441 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008525/0.6851, allocations: 281.3 kB / 1.507 GB, free: 1.16 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.6852, allocations: 15.98 kB / 1.507 GB, free: 1.145 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/0.6924, allocations: 5.267 MB / 1.512 GB, free: 11.61 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6924, allocations: 0 / 1.512 GB, free: 11.61 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.6955, allocations: 1.406 MB / 1.513 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.6961, allocations: 275.9 kB / 1.513 GB, free: 9.891 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.6962, allocations: 12 kB / 1.514 GB, free: 9.879 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.6967, allocations: 43.95 kB / 1.514 GB, free: 9.836 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.6969, allocations: 64.47 kB / 1.514 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.697, allocations: 23.98 kB / 1.514 GB, free: 9.75 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002216/0.6992, allocations: 1.627 MB / 1.515 GB, free: 8.129 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6992, allocations: 3.938 kB / 1.515 GB, free: 8.125 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001055/0.7003, allocations: 275.6 kB / 1.515 GB, free: 7.855 MB / 1.217 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 {(3,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/0.7021, allocations: 493.5 kB / 1.516 GB, free: 7.551 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.7042, allocations: 0.8756 MB / 1.517 GB, free: 6.656 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7042, allocations: 0 / 1.517 GB, free: 6.656 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7055, allocations: 0.6713 MB / 1.517 GB, free: 5.961 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.7069, allocations: 284.7 kB / 1.518 GB, free: 5.695 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.7125, allocations: 3.203 MB / 1.521 GB, free: 2.449 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.7138, allocations: 1.311 MB / 1.522 GB, free: 1.109 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.714, allocations: 59.42 kB / 1.522 GB, free: 1.055 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/0.714, allocations: 0 / 1.522 GB, free: 1.055 MB / 1.217 GB Notification: Performance of Templates: time 0.03797/0.7519, allocations: 23.8 MB / 1.545 GB, free: 9.301 MB / 1.248 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" 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