Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_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.0009872/0.0009871, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 8.281 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6081/0.6084, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1598/0.7683, allocations: 152.6 MB / 1.173 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.7925, allocations: 21.51 MB / 1.194 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.7943, allocations: 47.69 kB / 1.194 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.7961, allocations: 1.302 MB / 1.195 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.7978, allocations: 0.9384 MB / 1.196 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.7991, allocations: 450.6 kB / 1.196 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.8008, allocations: 1.52 MB / 1.198 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.8018, allocations: 0.6918 MB / 1.199 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.8026, allocations: 0.5489 MB / 1.199 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.8038, allocations: 1.062 MB / 1.2 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.804, allocations: 32 kB / 1.2 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.8042, allocations: 79.97 kB / 1.2 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.8045, allocations: 352.5 kB / 1.201 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.805, allocations: 0.5254 MB / 1.201 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.8059, allocations: 1.017 MB / 1.202 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8059, allocations: 0 / 1.202 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8059, allocations: 0 / 1.202 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.557e-05/0.8059, allocations: 0 / 1.202 GB, free: 8.547 MB / 0.9512 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.002307/0.8083, allocations: 1.5 MB / 1.204 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.8083, allocations: 8.031 kB / 1.204 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.8086, allocations: 159 kB / 1.204 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.8096, allocations: 0.7477 MB / 1.204 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.8097, allocations: 78.69 kB / 1.205 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.8098, allocations: 52 kB / 1.205 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.8109, allocations: 0.577 MB / 1.205 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.811, allocations: 0 / 1.205 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.811, allocations: 20 kB / 1.205 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.811, allocations: 15.94 kB / 1.205 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/0.812, allocations: 463.7 kB / 1.206 GB, free: 4.816 MB / 0.9512 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.003878/0.8159, allocations: 3.076 MB / 1.209 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.817, allocations: 0.505 MB / 1.209 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.8177, allocations: 329.5 kB / 1.209 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.8177, allocations: 4.375 kB / 1.209 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.8183, allocations: 333.2 kB / 1.21 GB, free: 296 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/0.8183, allocations: 0 / 1.21 GB, free: 296 kB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.003257/0.8216, allocations: 1.391 MB / 1.211 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.8217, allocations: 63.84 kB / 1.211 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.8239, allocations: 2.112 MB / 1.213 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.8239, allocations: 41.7 kB / 1.213 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.8244, allocations: 0.6284 MB / 1.214 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.8246, allocations: 165.7 kB / 1.214 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.8247, allocations: 57.69 kB / 1.214 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8248, allocations: 326 kB / 1.214 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/0.8254, allocations: 257.2 kB / 1.215 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.826, allocations: 365.8 kB / 1.215 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.827, allocations: 0.5766 MB / 1.216 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.827, allocations: 4 kB / 1.216 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001821/0.8289, allocations: 0.9427 MB / 1.217 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8289, allocations: 11.94 kB / 1.217 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8289, allocations: 4 kB / 1.217 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.8295, allocations: 192.7 kB / 1.217 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.8299, allocations: 115.8 kB / 1.217 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.8333, allocations: 2.813 MB / 1.22 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.8338, allocations: 99.53 kB / 1.22 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.8338, allocations: 27.94 kB / 1.22 GB, free: 5.805 MB / 0.9669 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.0005376/0.8344, allocations: 439.7 kB / 1.22 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.8345, allocations: 138.2 kB / 1.22 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.8348, allocations: 170 kB / 1.22 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8348, allocations: 8 kB / 1.22 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.8348, allocations: 0 / 1.22 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.8348, allocations: 7.984 kB / 1.22 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.8377, allocations: 1.754 MB / 1.222 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8377, allocations: 0 / 1.222 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8379, allocations: 51.95 kB / 1.222 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/0.8384, allocations: 205.5 kB / 1.222 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.8385, allocations: 19.92 kB / 1.222 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.8427, allocations: 4.188 MB / 1.226 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8427, allocations: 0 / 1.226 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.8448, allocations: 1.193 MB / 1.228 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.8452, allocations: 247.1 kB / 1.228 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8453, allocations: 12 kB / 1.228 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.8457, allocations: 51.95 kB / 1.228 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8458, allocations: 56.34 kB / 1.228 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.8459, allocations: 19.98 kB / 1.228 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001653/0.8476, allocations: 1.545 MB / 1.23 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8476, allocations: 0 / 1.23 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008455/0.8484, allocations: 227.6 kB / 1.23 GB, free: 11.11 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: 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.001135/0.8496, allocations: 494.1 kB / 1.23 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.8512, allocations: 0.7883 MB / 1.231 GB, free: 10 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8512, allocations: 0 / 1.231 GB, free: 10 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.8522, allocations: 0.5899 MB / 1.232 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.8534, allocations: 218.5 kB / 1.232 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.8578, allocations: 3.311 MB / 1.235 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.8586, allocations: 1.232 MB / 1.236 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.8587, allocations: 51.42 kB / 1.236 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8588, allocations: 0 / 1.236 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.0273/0.8861, allocations: 20.14 MB / 1.256 GB, free: 424 kB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches