Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001851/0.001851, allocations: 190.9 kB / 16.25 MB, free: 6.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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.8 MB / 0.7343 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 62.02 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3266, allocations: 157.4 MB / 1.052 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1566/0.4833, allocations: 154.9 MB / 1.204 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02509/0.5084, allocations: 21.61 MB / 1.225 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.5102, allocations: 51.69 kB / 1.225 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.5122, allocations: 1.306 MB / 1.226 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.514, allocations: 0.9346 MB / 1.227 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.5155, allocations: 453.5 kB / 1.227 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.5175, allocations: 1.438 MB / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.5186, allocations: 0.7852 MB / 1.229 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009868/0.5196, allocations: 0.6503 MB / 1.23 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.5209, allocations: 1.144 MB / 1.231 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.521, allocations: 72 kB / 1.231 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.5214, allocations: 123.9 kB / 1.231 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.5217, allocations: 396.5 kB / 1.232 GB, free: 244 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.5222, allocations: 0.5627 MB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.5234, allocations: 1.339 MB / 1.234 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5234, allocations: 4 kB / 1.234 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5234, allocations: 0 / 1.234 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.5235, allocations: 0 / 1.234 GB, free: 14.32 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002439/0.5259, allocations: 1.671 MB / 1.235 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5259, allocations: 16.56 kB / 1.235 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.5262, allocations: 171 kB / 1.235 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.5271, allocations: 0.7399 MB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5273, allocations: 82.67 kB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.5274, allocations: 51.91 kB / 1.236 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.5284, allocations: 0.5692 MB / 1.237 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5285, allocations: 8 kB / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.5285, allocations: 16 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.5285, allocations: 12 kB / 1.237 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009383/0.5295, allocations: 447.6 kB / 1.237 GB, free: 10.43 MB / 0.9981 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.003772/0.5333, allocations: 3.017 MB / 1.24 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.5344, allocations: 0.4893 MB / 1.241 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.535, allocations: 313.9 kB / 1.241 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.5351, allocations: 8.375 kB / 1.241 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.5357, allocations: 329.1 kB / 1.241 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.815e-06/0.5357, allocations: 0 / 1.241 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003201/0.5389, allocations: 1.352 MB / 1.243 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.539, allocations: 56.39 kB / 1.243 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.5411, allocations: 2.12 MB / 1.245 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.5412, allocations: 41.7 kB / 1.245 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.5417, allocations: 0.6168 MB / 1.245 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5418, allocations: 169.6 kB / 1.246 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.542, allocations: 110.3 kB / 1.246 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5421, allocations: 330 kB / 1.246 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.5427, allocations: 233.2 kB / 1.246 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.5432, allocations: 345.8 kB / 1.247 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5397/1.083, allocations: 0.5518 MB / 1.247 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.083, allocations: 1 kB / 1.247 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002412/1.085, allocations: 0.9065 MB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.086, allocations: 6.781 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.086, allocations: 4.094 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/1.086, allocations: 205.9 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/1.087, allocations: 103.2 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/1.09, allocations: 3.045 MB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/1.09, allocations: 93.77 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.09, allocations: 21.56 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005606/1.091, allocations: 437.9 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.091, allocations: 138.7 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/1.091, allocations: 169 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.091, allocations: 7.109 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.091, allocations: 2.719 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.091, allocations: 7.172 kB / 1.252 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/1.094, allocations: 1.735 MB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.094, allocations: 5.625 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/1.094, allocations: 46.95 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/1.094, allocations: 204 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/1.095, allocations: 16.56 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/1.098, allocations: 4.596 MB / 1.259 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.098, allocations: 0.8125 kB / 1.259 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.1, allocations: 1.161 MB / 1.26 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/1.1, allocations: 247 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.1, allocations: 14.81 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/1.101, allocations: 36.88 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.101, allocations: 62.75 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/1.101, allocations: 23.16 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001465/1.102, allocations: 1.541 MB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.102, allocations: 0 / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008155/1.103, allocations: 237.3 kB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/1.104, allocations: 483 kB / 1.262 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.106, allocations: 0.7964 MB / 1.263 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.106, allocations: 0.5625 kB / 1.263 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/1.107, allocations: 0.5973 MB / 1.264 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.108, allocations: 248.9 kB / 1.264 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/1.113, allocations: 3.157 MB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009275/1.114, allocations: 1.244 MB / 1.268 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004432/1.114, allocations: 102.2 kB / 1.268 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/1.114, allocations: 55.92 kB / 1.268 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.114, allocations: 0 / 1.268 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02629/1.141, allocations: 11.23 MB / 1.279 GB, free: 185.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches