Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase1,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.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_9_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.001298/0.001298, allocations: 105 kB / 16.41 MB, free: 6.457 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.001256/0.001256, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.09 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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9633/0.9645, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.207/1.172, allocations: 156.7 MB / 1.242 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02757/1.199, allocations: 21.76 MB / 1.263 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/1.202, allocations: 51.75 kB / 1.263 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.203, allocations: 1.165 MB / 1.264 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/1.205, allocations: 0.8524 MB / 1.265 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/1.206, allocations: 442.7 kB / 1.265 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001642/1.208, allocations: 1.259 MB / 1.267 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008795/1.209, allocations: 0.687 MB / 1.267 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008941/1.21, allocations: 0.5529 MB / 1.268 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/1.211, allocations: 0.9136 MB / 1.269 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/1.211, allocations: 68 kB / 1.269 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/1.211, allocations: 112 kB / 1.269 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/1.212, allocations: 320.7 kB / 1.269 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004488/1.212, allocations: 492.8 kB / 1.27 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/1.213, allocations: 1.193 MB / 1.271 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.213, allocations: 4 kB / 1.271 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.213, allocations: 0 / 1.271 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.766e-05/1.213, allocations: 0 / 1.271 GB, free: 3.109 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.002184/1.216, allocations: 1.478 MB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.216, allocations: 12.03 kB / 1.272 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/1.216, allocations: 131.3 kB / 1.272 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/1.217, allocations: 0.6744 MB / 1.273 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/1.217, allocations: 66.69 kB / 1.273 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.17e-05/1.217, allocations: 48 kB / 1.273 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/1.218, allocations: 0.5223 MB / 1.274 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.218, allocations: 0 / 1.274 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.218, allocations: 16 kB / 1.274 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.218, allocations: 12 kB / 1.274 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/1.219, allocations: 415.7 kB / 1.274 GB, free: 15.62 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.003423/1.222, allocations: 2.712 MB / 1.277 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/1.223, allocations: 451 kB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/1.224, allocations: 307.8 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/1.224, allocations: 8.312 kB / 1.277 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/1.224, allocations: 292.1 kB / 1.278 GB, free: 11.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.825e-06/1.224, allocations: 0 / 1.278 GB, free: 11.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.002534/1.227, allocations: 1.148 MB / 1.279 GB, free: 10.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/1.227, allocations: 67.39 kB / 1.279 GB, free: 10.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/1.229, allocations: 1.756 MB / 1.281 GB, free: 8.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/1.229, allocations: 37.7 kB / 1.281 GB, free: 8.535 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/1.229, allocations: 0.525 MB / 1.281 GB, free: 8.004 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.229, allocations: 146 kB / 1.281 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.229, allocations: 98.25 kB / 1.281 GB, free: 7.758 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.23, allocations: 329.9 kB / 1.282 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/1.23, allocations: 213 kB / 1.282 GB, free: 7.223 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/1.23, allocations: 335.2 kB / 1.282 GB, free: 6.844 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/1.231, allocations: 0.5155 MB / 1.283 GB, free: 6.281 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/1.231, allocations: 7.875 kB / 1.283 GB, free: 6.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001517/1.233, allocations: 0.8089 MB / 1.284 GB, free: 5.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.233, allocations: 4 kB / 1.284 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.233, allocations: 4 kB / 1.284 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003938/1.233, allocations: 140.9 kB / 1.284 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/1.234, allocations: 99.81 kB / 1.284 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/1.236, allocations: 2.61 MB / 1.286 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/1.237, allocations: 67.5 kB / 1.286 GB, free: 2.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/1.237, allocations: 23.98 kB / 1.286 GB, free: 2.375 MB / 1.014 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.0005549/1.238, allocations: 389.8 kB / 1.287 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/1.238, allocations: 122.4 kB / 1.287 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/1.238, allocations: 135.7 kB / 1.287 GB, free: 1.727 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.238, allocations: 4 kB / 1.287 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.238, allocations: 4 kB / 1.287 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.238, allocations: 3.984 kB / 1.287 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/1.24, allocations: 1.494 MB / 1.289 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.24, allocations: 4 kB / 1.289 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.241, allocations: 43.91 kB / 1.289 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/1.241, allocations: 157.6 kB / 1.289 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/1.241, allocations: 23.98 kB / 1.289 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/1.245, allocations: 4.014 MB / 1.293 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.245, allocations: 0 / 1.293 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/1.246, allocations: 0.9925 MB / 1.294 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/1.247, allocations: 215.5 kB / 1.294 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/1.247, allocations: 8 kB / 1.294 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/1.247, allocations: 31.97 kB / 1.294 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.247, allocations: 51.92 kB / 1.294 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/1.247, allocations: 19.92 kB / 1.294 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001327/1.249, allocations: 1.289 MB / 1.295 GB, free: 9 MB / 1.029 GB Notification: Performance of sort global known variables: time 3e-07/1.249, allocations: 0 / 1.295 GB, free: 9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007423/1.249, allocations: 203.8 kB / 1.295 GB, free: 8.801 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,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.001124/1.25, allocations: 498.3 kB / 1.296 GB, free: 8.492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.252, allocations: 0.6589 MB / 1.297 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/1.252, allocations: 0 / 1.297 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008026/1.253, allocations: 0.529 MB / 1.297 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.254, allocations: 202.2 kB / 1.297 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.257, allocations: 2.41 MB / 1.3 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/1.258, allocations: 1.146 MB / 1.301 GB, free: 3.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/1.258, allocations: 51.42 kB / 1.301 GB, free: 3.406 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/1.258, allocations: 0 / 1.301 GB, free: 3.406 MB / 1.029 GB Notification: Performance of Templates: time 0.02421/1.283, allocations: 17.87 MB / 1.318 GB, free: 1.559 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches