Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TestCase6,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.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_latest_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.001583/0.001584, allocations: 107.5 kB / 16.27 MB, free: 6.355 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.001745/0.001745, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.49/1.49, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.758, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1968/0.9548, allocations: 157.1 MB / 1.236 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02888/0.9837, allocations: 21.87 MB / 1.258 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.9856, allocations: 55.69 kB / 1.258 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.9877, allocations: 1.34 MB / 1.259 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.9895, allocations: 0.9808 MB / 1.26 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.9909, allocations: 0.5016 MB / 1.26 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.9927, allocations: 1.43 MB / 1.262 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.9938, allocations: 0.7713 MB / 1.263 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.9947, allocations: 0.6464 MB / 1.263 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.996, allocations: 1.102 MB / 1.264 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.9962, allocations: 72 kB / 1.264 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.9965, allocations: 120 kB / 1.265 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.9969, allocations: 376.5 kB / 1.265 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.9975, allocations: 0.5549 MB / 1.265 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.999, allocations: 1.339 MB / 1.267 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.999, allocations: 0 / 1.267 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.999, allocations: 7.938 kB / 1.267 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.999, allocations: 0 / 1.267 GB, free: 2.109 MB / 0.9825 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.002744/1.002, allocations: 1.682 MB / 1.268 GB, free: 372 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.002, allocations: 8.031 kB / 1.268 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/1.002, allocations: 163 kB / 1.269 GB, free: 200 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/1.003, allocations: 0.7438 MB / 1.269 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/1.003, allocations: 82.67 kB / 1.269 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/1.003, allocations: 52 kB / 1.269 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.004, allocations: 0.5691 MB / 1.27 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.005, allocations: 4 kB / 1.27 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/1.005, allocations: 16 kB / 1.27 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/1.005, allocations: 16 kB / 1.27 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/1.006, allocations: 451.6 kB / 1.27 GB, free: 14.21 MB / 0.9981 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.004243/1.01, allocations: 3.017 MB / 1.273 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.011, allocations: 0.4917 MB / 1.274 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/1.012, allocations: 320.2 kB / 1.274 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/1.012, allocations: 4.375 kB / 1.274 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006754/1.012, allocations: 337.1 kB / 1.274 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.655e-06/1.012, allocations: 0 / 1.274 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003433/1.016, allocations: 1.352 MB / 1.276 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/1.016, allocations: 67.83 kB / 1.276 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.018, allocations: 2.116 MB / 1.278 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/1.019, allocations: 45.69 kB / 1.278 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/1.019, allocations: 0.6206 MB / 1.279 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.019, allocations: 161.8 kB / 1.279 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/1.02, allocations: 114.2 kB / 1.279 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.02, allocations: 330 kB / 1.279 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/1.02, allocations: 233.7 kB / 1.279 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/1.021, allocations: 345.9 kB / 1.28 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.022, allocations: 0.541 MB / 1.28 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/1.022, allocations: 4 kB / 1.28 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002026/1.024, allocations: 0.9203 MB / 1.281 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.024, allocations: 7.938 kB / 1.281 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.024, allocations: 4 kB / 1.281 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/1.025, allocations: 188.8 kB / 1.281 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/1.025, allocations: 111.7 kB / 1.281 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/1.029, allocations: 3.047 MB / 1.284 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/1.03, allocations: 75.39 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/1.03, allocations: 28.06 kB / 1.285 GB, free: 15.14 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: 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.0006582/1.031, allocations: 444.2 kB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.031, allocations: 134.2 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/1.031, allocations: 166 kB / 1.285 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.031, allocations: 7.938 kB / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.031, allocations: 4 kB / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.031, allocations: 3.984 kB / 1.285 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/1.034, allocations: 1.738 MB / 1.287 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.034, allocations: 0 / 1.287 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.035, allocations: 55.89 kB / 1.287 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/1.035, allocations: 193.6 kB / 1.287 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/1.035, allocations: 19.98 kB / 1.287 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/1.04, allocations: 4.608 MB / 1.292 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.04, allocations: 0 / 1.292 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/1.043, allocations: 1.165 MB / 1.293 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/1.043, allocations: 239.3 kB / 1.293 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.043, allocations: 15.98 kB / 1.293 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/1.044, allocations: 31.97 kB / 1.293 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.044, allocations: 56.36 kB / 1.293 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/1.044, allocations: 19.98 kB / 1.293 GB, free: 5.875 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001891/1.046, allocations: 1.548 MB / 1.295 GB, free: 4.328 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.046, allocations: 3.938 kB / 1.295 GB, free: 4.324 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008827/1.047, allocations: 223.6 kB / 1.295 GB, free: 4.105 MB / 1.014 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.001842/1.048, allocations: 481.5 kB / 1.295 GB, free: 3.816 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.05, allocations: 0.805 MB / 1.296 GB, free: 2.996 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.05, allocations: 0 / 1.296 GB, free: 2.996 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.052, allocations: 0.5818 MB / 1.297 GB, free: 2.391 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.053, allocations: 239 kB / 1.297 GB, free: 2.164 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/1.057, allocations: 2.874 MB / 1.3 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.059, allocations: 1.236 MB / 1.301 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/1.059, allocations: 51.42 kB / 1.301 GB, free: 13.93 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.059, allocations: 0 / 1.301 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Templates: time 0.03127/1.09, allocations: 20.39 MB / 1.321 GB, free: 9.574 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches