Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001842/0.001842, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.71 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.88 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5832, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1559/0.7391, allocations: 154.6 MB / 1.168 GB, free: 7.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02444/0.7636, allocations: 21.49 MB / 1.189 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.7656, allocations: 43.75 kB / 1.189 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.7672, allocations: 1.134 MB / 1.19 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.7686, allocations: 0.8216 MB / 1.191 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.7697, allocations: 390.3 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.771, allocations: 1.259 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007797/0.7718, allocations: 0.685 MB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.7724, allocations: 0.5568 MB / 1.194 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009539/0.7734, allocations: 0.9566 MB / 1.194 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.7735, allocations: 68 kB / 1.195 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.7737, allocations: 108 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.774, allocations: 328.8 kB / 1.195 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.7744, allocations: 496.8 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.7756, allocations: 1.179 MB / 1.197 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7756, allocations: 0 / 1.197 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7756, allocations: 0 / 1.197 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.7756, allocations: 4 kB / 1.197 GB, free: 10.02 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.002239/0.7779, allocations: 1.478 MB / 1.198 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7779, allocations: 8.031 kB / 1.198 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.7781, allocations: 131.3 kB / 1.198 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.7789, allocations: 0.6589 MB / 1.199 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.7791, allocations: 74.69 kB / 1.199 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.7792, allocations: 48 kB / 1.199 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.7801, allocations: 0.5184 MB / 1.199 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.7802, allocations: 0 / 1.199 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.7802, allocations: 23.98 kB / 1.199 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.7802, allocations: 12 kB / 1.199 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.7811, allocations: 407.7 kB / 1.2 GB, free: 6.551 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.00346/0.7845, allocations: 2.739 MB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/0.7855, allocations: 440.2 kB / 1.203 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.7862, allocations: 317.1 kB / 1.203 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.7862, allocations: 4.656 kB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.7868, allocations: 295.2 kB / 1.204 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.394e-06/0.7868, allocations: 0 / 1.204 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002708/0.7895, allocations: 1.137 MB / 1.205 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.7896, allocations: 63.41 kB / 1.205 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.7914, allocations: 1.756 MB / 1.206 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.7915, allocations: 37.7 kB / 1.206 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.7919, allocations: 0.5327 MB / 1.207 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.792, allocations: 138 kB / 1.207 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.7922, allocations: 106.2 kB / 1.207 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7923, allocations: 329.9 kB / 1.207 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.7928, allocations: 213 kB / 1.208 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.7934, allocations: 343.1 kB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.7943, allocations: 0.5154 MB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7943, allocations: 3.938 kB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00156/0.7959, allocations: 0.8104 MB / 1.209 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.7959, allocations: 4 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7959, allocations: 4 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.7964, allocations: 140.9 kB / 1.209 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.7968, allocations: 103.8 kB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.7996, allocations: 2.602 MB / 1.212 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.8001, allocations: 83.48 kB / 1.212 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.8002, allocations: 20 kB / 1.212 GB, free: 9.273 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.0005158/0.8007, allocations: 396.9 kB / 1.213 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.8009, allocations: 118.4 kB / 1.213 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.8011, allocations: 135.7 kB / 1.213 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8011, allocations: 4 kB / 1.213 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.8011, allocations: 4 kB / 1.213 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.8011, allocations: 3.984 kB / 1.213 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.8035, allocations: 1.499 MB / 1.214 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8035, allocations: 0 / 1.214 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.8037, allocations: 47.91 kB / 1.214 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/0.8042, allocations: 161.6 kB / 1.215 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.8042, allocations: 15.98 kB / 1.215 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.8078, allocations: 4.029 MB / 1.218 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8078, allocations: 4 kB / 1.218 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.8095, allocations: 0.9832 MB / 1.219 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.8097, allocations: 215.6 kB / 1.22 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8098, allocations: 19.92 kB / 1.22 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.8102, allocations: 35.88 kB / 1.22 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.8103, allocations: 51.92 kB / 1.22 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.8103, allocations: 23.92 kB / 1.22 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001327/0.8117, allocations: 1.285 MB / 1.221 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8117, allocations: 0 / 1.221 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007376/0.8124, allocations: 195.7 kB / 1.221 GB, free: 15.68 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.001056/0.8135, allocations: 487.3 kB / 1.222 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.815, allocations: 0.6972 MB / 1.222 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.815, allocations: 0.875 kB / 1.222 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008033/0.8158, allocations: 0.5205 MB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.8168, allocations: 209.4 kB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.8204, allocations: 2.69 MB / 1.226 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.8211, allocations: 1.149 MB / 1.227 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.8214, allocations: 96.77 kB / 1.227 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.8216, allocations: 51.36 kB / 1.227 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8216, allocations: 4 kB / 1.227 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of Templates: time 0.01687/0.8384, allocations: 9.775 MB / 1.236 GB, free: 236 kB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches