Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001785/0.001785, allocations: 188.7 kB / 17.34 MB, free: 5.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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.11, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2359/1.346, allocations: 156.7 MB / 1.242 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03221/1.378, allocations: 21.75 MB / 1.263 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/1.382, allocations: 51.75 kB / 1.263 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/1.384, allocations: 1.165 MB / 1.264 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00234/1.386, allocations: 0.8602 MB / 1.265 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/1.388, allocations: 445.2 kB / 1.265 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002298/1.39, allocations: 1.27 MB / 1.267 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/1.392, allocations: 0.6792 MB / 1.267 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/1.393, allocations: 0.5647 MB / 1.268 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/1.395, allocations: 0.9117 MB / 1.269 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/1.395, allocations: 68 kB / 1.269 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/1.395, allocations: 107.9 kB / 1.269 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/1.396, allocations: 312.8 kB / 1.269 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007706/1.397, allocations: 492.8 kB / 1.27 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/1.398, allocations: 1.199 MB / 1.271 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.398, allocations: 3.938 kB / 1.271 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.398, allocations: 0 / 1.271 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.601e-05/1.398, allocations: 0 / 1.271 GB, free: 3.238 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003301/1.402, allocations: 1.479 MB / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.402, allocations: 8.031 kB / 1.272 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/1.402, allocations: 135.3 kB / 1.272 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/1.403, allocations: 0.6666 MB / 1.273 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.403, allocations: 74.69 kB / 1.273 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/1.404, allocations: 48 kB / 1.273 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.405, allocations: 0.5223 MB / 1.274 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.405, allocations: 3.938 kB / 1.274 GB, free: 180 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/1.405, allocations: 20 kB / 1.274 GB, free: 160 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.405, allocations: 8 kB / 1.274 GB, free: 152 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/1.406, allocations: 415.8 kB / 1.274 GB, free: 15.74 MB / 1.014 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.004115/1.41, allocations: 2.792 MB / 1.277 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/1.411, allocations: 457 kB / 1.277 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/1.412, allocations: 287.7 kB / 1.278 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/1.412, allocations: 8.328 kB / 1.278 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/1.412, allocations: 298.7 kB / 1.278 GB, free: 11.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.485e-06/1.412, allocations: 448 / 1.278 GB, free: 11.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003159/1.415, allocations: 1.245 MB / 1.279 GB, free: 10.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/1.416, allocations: 55.41 kB / 1.279 GB, free: 10.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/1.417, allocations: 1.756 MB / 1.281 GB, free: 8.531 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/1.418, allocations: 41.62 kB / 1.281 GB, free: 8.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/1.418, allocations: 0.5179 MB / 1.281 GB, free: 7.965 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.418, allocations: 149.9 kB / 1.281 GB, free: 7.816 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.418, allocations: 94.25 kB / 1.282 GB, free: 7.719 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.419, allocations: 326 kB / 1.282 GB, free: 7.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/1.419, allocations: 221 kB / 1.282 GB, free: 7.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/1.42, allocations: 324.9 kB / 1.282 GB, free: 6.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/1.421, allocations: 0.5062 MB / 1.283 GB, free: 6.277 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.421, allocations: 0 / 1.283 GB, free: 6.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001764/1.422, allocations: 0.8489 MB / 1.284 GB, free: 5.418 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.422, allocations: 12.03 kB / 1.284 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.422, allocations: 3.984 kB / 1.284 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/1.423, allocations: 184.6 kB / 1.284 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/1.423, allocations: 99.88 kB / 1.284 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/1.427, allocations: 2.994 MB / 1.287 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/1.428, allocations: 75.55 kB / 1.287 GB, free: 1.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/1.428, allocations: 20 kB / 1.287 GB, free: 1.895 MB / 1.014 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.000923/1.429, allocations: 383.3 kB / 1.287 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.429, allocations: 118.4 kB / 1.288 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/1.429, allocations: 147.7 kB / 1.288 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.429, allocations: 7.984 kB / 1.288 GB, free: 1.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/1.429, allocations: 4 kB / 1.288 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.429, allocations: 3.984 kB / 1.288 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/1.433, allocations: 1.56 MB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.433, allocations: 0 / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/1.433, allocations: 39.97 kB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/1.433, allocations: 201.5 kB / 1.289 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/1.433, allocations: 15.98 kB / 1.289 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/1.439, allocations: 4.557 MB / 1.294 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.439, allocations: 0 / 1.294 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/1.441, allocations: 1.055 MB / 1.295 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/1.442, allocations: 211.6 kB / 1.295 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/1.442, allocations: 19.98 kB / 1.295 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/1.442, allocations: 31.91 kB / 1.295 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.442, allocations: 51.92 kB / 1.295 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/1.442, allocations: 16 kB / 1.295 GB, free: 9.105 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001595/1.444, allocations: 1.281 MB / 1.296 GB, free: 7.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.444, allocations: 0 / 1.296 GB, free: 7.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009673/1.445, allocations: 199.6 kB / 1.297 GB, free: 7.625 MB / 1.029 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.001438/1.446, allocations: 484.6 kB / 1.297 GB, free: 7.336 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001792/1.448, allocations: 0.727 MB / 1.298 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.448, allocations: 0 / 1.298 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.449, allocations: 0.5518 MB / 1.298 GB, free: 6.016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/1.451, allocations: 200.9 kB / 1.299 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/1.455, allocations: 2.42 MB / 1.301 GB, free: 3.363 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/1.456, allocations: 1.142 MB / 1.302 GB, free: 2.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/1.456, allocations: 51.42 kB / 1.302 GB, free: 2.148 MB / 1.029 GB Notification: Performance of SimCode: time 1.132e-06/1.456, allocations: 0 / 1.302 GB, free: 2.148 MB / 1.029 GB Notification: Performance of Templates: time 0.03166/1.488, allocations: 17.9 MB / 1.32 GB, free: 284 kB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches