Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 103.4 kB / 16.27 MB, free: 5.973 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.001087/0.001087, allocations: 190.8 kB / 17.2 MB, free: 5.613 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 469.4 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 68.53 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3155, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.7447/1.06, allocations: 156.7 MB / 1.217 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02653/1.087, allocations: 21.76 MB / 1.239 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/1.089, allocations: 55.69 kB / 1.239 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/1.091, allocations: 1.165 MB / 1.24 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/1.092, allocations: 0.8446 MB / 1.241 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/1.093, allocations: 449.6 kB / 1.241 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001317/1.095, allocations: 1.251 MB / 1.242 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000794/1.095, allocations: 0.6793 MB / 1.243 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006504/1.096, allocations: 0.5569 MB / 1.243 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/1.097, allocations: 0.9099 MB / 1.244 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/1.097, allocations: 67.94 kB / 1.244 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/1.098, allocations: 108 kB / 1.244 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/1.098, allocations: 320.7 kB / 1.245 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004272/1.098, allocations: 496.8 kB / 1.245 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/1.099, allocations: 1.179 MB / 1.246 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.099, allocations: 0 / 1.246 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/1.099, allocations: 0 / 1.246 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.099, allocations: 4 kB / 1.246 GB, free: 14.63 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002231/1.102, allocations: 1.475 MB / 1.248 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.102, allocations: 8.625 kB / 1.248 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/1.102, allocations: 135.3 kB / 1.248 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/1.103, allocations: 0.659 MB / 1.249 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.103, allocations: 70.69 kB / 1.249 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/1.103, allocations: 47.98 kB / 1.249 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009307/1.104, allocations: 0.5184 MB / 1.249 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.104, allocations: 0 / 1.249 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/1.104, allocations: 20 kB / 1.249 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/1.104, allocations: 8 kB / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/1.105, allocations: 415.7 kB / 1.25 GB, free: 11.16 MB / 0.9669 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.00355/1.108, allocations: 2.811 MB / 1.252 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.109, allocations: 462.5 kB / 1.253 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/1.11, allocations: 287 kB / 1.253 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/1.11, allocations: 8.641 kB / 1.253 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/1.111, allocations: 298 kB / 1.253 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.475e-06/1.111, allocations: 0 / 1.253 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002942/1.114, allocations: 1.248 MB / 1.255 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.114, allocations: 59.41 kB / 1.255 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.115, allocations: 1.748 MB / 1.256 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/1.115, allocations: 37.7 kB / 1.256 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/1.116, allocations: 0.5179 MB / 1.257 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/1.116, allocations: 145.9 kB / 1.257 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/1.116, allocations: 98.25 kB / 1.257 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.116, allocations: 326 kB / 1.257 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/1.117, allocations: 225 kB / 1.258 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/1.117, allocations: 328.8 kB / 1.258 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009007/1.118, allocations: 0.514 MB / 1.259 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.118, allocations: 0 / 1.259 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001623/1.12, allocations: 0.8477 MB / 1.259 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.12, allocations: 8 kB / 1.259 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.12, allocations: 7.969 kB / 1.259 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/1.121, allocations: 184.8 kB / 1.26 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.121, allocations: 95.81 kB / 1.26 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/1.124, allocations: 2.995 MB / 1.263 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/1.125, allocations: 75.48 kB / 1.263 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/1.125, allocations: 20 kB / 1.263 GB, free: 13.29 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005397/1.126, allocations: 387.3 kB / 1.263 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/1.126, allocations: 122.5 kB / 1.263 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/1.126, allocations: 139.7 kB / 1.263 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.126, allocations: 4 kB / 1.263 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.126, allocations: 4 kB / 1.263 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.126, allocations: 0 / 1.263 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/1.128, allocations: 1.571 MB / 1.265 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.128, allocations: 0 / 1.265 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/1.129, allocations: 47.91 kB / 1.265 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/1.129, allocations: 194.3 kB / 1.265 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/1.129, allocations: 19.97 kB / 1.265 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00436/1.134, allocations: 4.548 MB / 1.269 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.134, allocations: 0 / 1.269 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.135, allocations: 1.072 MB / 1.271 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/1.136, allocations: 215.9 kB / 1.271 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/1.136, allocations: 12 kB / 1.271 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/1.136, allocations: 27.97 kB / 1.271 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.136, allocations: 55.91 kB / 1.271 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/1.136, allocations: 19.98 kB / 1.271 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001361/1.138, allocations: 1.284 MB / 1.272 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/1.138, allocations: 0 / 1.272 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007871/1.139, allocations: 203.6 kB / 1.272 GB, free: 2.992 MB / 0.9825 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001114/1.14, allocations: 486.9 kB / 1.273 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001602/1.141, allocations: 0.7504 MB / 1.273 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.141, allocations: 0 / 1.273 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/1.142, allocations: 0.5676 MB / 1.274 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/1.143, allocations: 205.5 kB / 1.274 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/1.147, allocations: 2.435 MB / 1.277 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.148, allocations: 1.145 MB / 1.278 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/1.148, allocations: 51.42 kB / 1.278 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.148, allocations: 0 / 1.278 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.0251/1.173, allocations: 17.83 MB / 1.295 GB, free: 11.65 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches