Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 108.8 kB / 15.99 MB, free: 6.367 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.001282/0.001282, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.39 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 159.2 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.7006/1.03, allocations: 154.6 MB / 1.215 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02875/1.059, allocations: 21.48 MB / 1.236 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/1.061, allocations: 55.69 kB / 1.236 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/1.063, allocations: 1.122 MB / 1.237 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/1.065, allocations: 0.8255 MB / 1.238 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/1.066, allocations: 390.8 kB / 1.238 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001659/1.068, allocations: 1.255 MB / 1.24 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00094/1.069, allocations: 0.6892 MB / 1.24 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/1.07, allocations: 0.549 MB / 1.241 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/1.071, allocations: 0.9529 MB / 1.242 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/1.071, allocations: 64 kB / 1.242 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/1.072, allocations: 119.8 kB / 1.242 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/1.072, allocations: 332.8 kB / 1.242 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/1.072, allocations: 0.489 MB / 1.243 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/1.073, allocations: 0.9162 MB / 1.244 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.073, allocations: 0 / 1.244 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.314e-06/1.073, allocations: 0 / 1.244 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.649e-05/1.073, allocations: 0 / 1.244 GB, free: 1.297 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002482/1.076, allocations: 1.489 MB / 1.245 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.076, allocations: 12.03 kB / 1.245 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/1.076, allocations: 131.3 kB / 1.245 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/1.077, allocations: 0.6591 MB / 1.246 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/1.077, allocations: 66.69 kB / 1.246 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/1.077, allocations: 51.98 kB / 1.246 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1.078, allocations: 0.5184 MB / 1.247 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.078, allocations: 4 kB / 1.247 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/1.078, allocations: 16 kB / 1.247 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.079, allocations: 12 kB / 1.247 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008742/1.079, allocations: 415.7 kB / 1.247 GB, free: 13.81 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.003755/1.083, allocations: 2.732 MB / 1.25 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.084, allocations: 448 kB / 1.25 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/1.085, allocations: 314.5 kB / 1.25 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/1.085, allocations: 8.656 kB / 1.25 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005696/1.085, allocations: 283.1 kB / 1.251 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 2.355e-06/1.085, allocations: 0 / 1.251 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002807/1.088, allocations: 1.152 MB / 1.252 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.088, allocations: 59.41 kB / 1.252 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.091, allocations: 1.752 MB / 1.253 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/1.091, allocations: 41.69 kB / 1.254 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006578/1.091, allocations: 0.5288 MB / 1.254 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/1.092, allocations: 146 kB / 1.254 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.092, allocations: 102.2 kB / 1.254 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.092, allocations: 326 kB / 1.255 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/1.092, allocations: 209 kB / 1.255 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/1.093, allocations: 339.1 kB / 1.255 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.094, allocations: 0.5208 MB / 1.256 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.094, allocations: 4 kB / 1.256 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001767/1.096, allocations: 0.803 MB / 1.256 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/1.096, allocations: 11.94 kB / 1.256 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.096, allocations: 4 kB / 1.256 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/1.096, allocations: 141.6 kB / 1.257 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/1.097, allocations: 99.88 kB / 1.257 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/1.1, allocations: 2.602 MB / 1.259 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.101, allocations: 79.55 kB / 1.259 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/1.101, allocations: 28 kB / 1.259 GB, free: 0.5391 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005395/1.101, allocations: 387.2 kB / 1.26 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.101, allocations: 118.5 kB / 1.26 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/1.102, allocations: 147.7 kB / 1.26 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.102, allocations: 4 kB / 1.26 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/1.102, allocations: 4 kB / 1.26 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.102, allocations: 0 / 1.26 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/1.104, allocations: 1.492 MB / 1.261 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.104, allocations: 3.984 kB / 1.261 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/1.104, allocations: 43.97 kB / 1.261 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/1.105, allocations: 172.5 kB / 1.262 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/1.105, allocations: 12 kB / 1.262 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/1.109, allocations: 4.029 MB / 1.266 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.109, allocations: 0 / 1.266 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/1.111, allocations: 0.9872 MB / 1.267 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/1.111, allocations: 219.4 kB / 1.267 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/1.111, allocations: 8 kB / 1.267 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/1.112, allocations: 39.97 kB / 1.267 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.112, allocations: 47.92 kB / 1.267 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.112, allocations: 19.98 kB / 1.267 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001526/1.113, allocations: 1.289 MB / 1.268 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/1.113, allocations: 0 / 1.268 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008014/1.114, allocations: 207.7 kB / 1.268 GB, free: 6.941 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,12,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.001772/1.116, allocations: 484.3 kB / 1.269 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001579/1.117, allocations: 0.694 MB / 1.269 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.117, allocations: 0 / 1.269 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/1.118, allocations: 0.5243 MB / 1.27 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/1.119, allocations: 201.9 kB / 1.27 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/1.124, allocations: 2.737 MB / 1.273 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/1.124, allocations: 1.146 MB / 1.274 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.125, allocations: 47.44 kB / 1.274 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/1.125, allocations: 0 / 1.274 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of Templates: time 0.02613/1.151, allocations: 17.82 MB / 1.291 GB, free: 15.42 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches