Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008142/0.008142, allocations: 102 kB / 15.73 MB, free: 5.555 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.001734/0.001734, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.56 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04865/0.3987, allocations: 49.77 MB / 1.137 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02025/0.419, allocations: 12.69 MB / 1.149 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00384/0.4229, allocations: 79.5 kB / 1.149 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.4259, allocations: 0.7761 MB / 1.15 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.4327, allocations: 1.92 MB / 1.152 GB, free: 24 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00423/0.4369, allocations: 1.361 MB / 1.153 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005371/0.4423, allocations: 3.258 MB / 1.156 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.4442, allocations: 1.25 MB / 1.157 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.4479, allocations: 1.323 MB / 1.159 GB, free: 8.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.4494, allocations: 0.9252 MB / 1.16 GB, free: 7.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.4496, allocations: 96 kB / 1.16 GB, free: 7.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.4521, allocations: 1.076 MB / 1.161 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.4524, allocations: 286.8 kB / 1.161 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008048/0.4533, allocations: 0.68 MB / 1.162 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.4564, allocations: 1.957 MB / 1.164 GB, free: 3.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4564, allocations: 0 / 1.164 GB, free: 3.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4564, allocations: 0 / 1.164 GB, free: 3.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.4564, allocations: 0 / 1.164 GB, free: 3.781 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002553/0.459, allocations: 1.746 MB / 1.165 GB, free: 1.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4591, allocations: 8.031 kB / 1.165 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006059/0.4597, allocations: 215.9 kB / 1.165 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.4616, allocations: 1.113 MB / 1.167 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.4617, allocations: 62.38 kB / 1.167 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4618, allocations: 87.94 kB / 1.167 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.4635, allocations: 1.005 MB / 1.168 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4635, allocations: 0 / 1.168 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.4636, allocations: 44 kB / 1.168 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.4637, allocations: 23.98 kB / 1.168 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.465, allocations: 0.6399 MB / 1.168 GB, free: 14.65 MB / 0.9356 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.00512/0.4702, allocations: 4.737 MB / 1.173 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4713, allocations: 395 kB / 1.173 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.4718, allocations: 216.7 kB / 1.174 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008515/0.4727, allocations: 1.148 MB / 1.175 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4727, allocations: 34.56 kB / 1.175 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.4727, allocations: 3.938 kB / 1.175 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002817/0.4755, allocations: 1.089 MB / 1.176 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4756, allocations: 59.34 kB / 1.176 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4767, allocations: 0.9754 MB / 1.177 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.4768, allocations: 33.7 kB / 1.177 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.4772, allocations: 0.6017 MB / 1.177 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.4773, allocations: 107.1 kB / 1.178 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.4774, allocations: 114.1 kB / 1.178 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4776, allocations: 322 kB / 1.178 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.4781, allocations: 197 kB / 1.178 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.4787, allocations: 410.3 kB / 1.179 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4799, allocations: 0.6018 MB / 1.179 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4799, allocations: 0 / 1.179 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001609/0.4815, allocations: 0.7652 MB / 1.18 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4816, allocations: 8.844 kB / 1.18 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4816, allocations: 4.062 kB / 1.18 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.4823, allocations: 158.5 kB / 1.18 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.4829, allocations: 155.7 kB / 1.18 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.484, allocations: 1.716 MB / 1.182 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.4847, allocations: 91.41 kB / 1.182 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.4848, allocations: 28 kB / 1.182 GB, free: 15.79 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004179/0.4852, allocations: 269.7 kB / 1.182 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4853, allocations: 111.3 kB / 1.182 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.4871, allocations: 0.7308 MB / 1.183 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4871, allocations: 4 kB / 1.183 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4871, allocations: 3.938 kB / 1.183 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.4871, allocations: 3.984 kB / 1.183 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.4899, allocations: 1.632 MB / 1.185 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4899, allocations: 4 kB / 1.185 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.4903, allocations: 92.03 kB / 1.185 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/0.4909, allocations: 150.6 kB / 1.185 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4909, allocations: 11.94 kB / 1.185 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000999/0.4919, allocations: 1.712 MB / 1.187 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4919, allocations: 0 / 1.187 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.4934, allocations: 0.7845 MB / 1.187 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.4938, allocations: 256.2 kB / 1.188 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.4939, allocations: 8 kB / 1.188 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.4945, allocations: 43.95 kB / 1.188 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.4946, allocations: 35.83 kB / 1.188 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.4946, allocations: 23.98 kB / 1.188 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008175/0.4954, allocations: 0.658 MB / 1.188 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4954, allocations: 0 / 1.188 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001091/0.4965, allocations: 382.9 kB / 1.189 GB, free: 8.633 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008581/0.4974, allocations: 423.9 kB / 1.189 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.4989, allocations: 0.5516 MB / 1.19 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.499, allocations: 4 kB / 1.19 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007633/0.4997, allocations: 288 kB / 1.19 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.502, allocations: 0.5159 MB / 1.19 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.505, allocations: 1.839 MB / 1.192 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.5056, allocations: 1.099 MB / 1.193 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005932/0.5062, allocations: 188.2 kB / 1.193 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5064, allocations: 63.42 kB / 1.194 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of SimCode: time 6.11e-07/0.5064, allocations: 4 kB / 1.194 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of Templates: time 0.03707/0.5435, allocations: 20.8 MB / 1.214 GB, free: 15.07 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches