Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.0008152/0.000815, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001023, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004454, allocations: 15.94 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.8402, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05697/0.8973, allocations: 48.45 MB / 1.071 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.9184, allocations: 12.58 MB / 1.083 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.922, allocations: 71.5 kB / 1.083 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.9246, allocations: 0.6096 MB / 1.084 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/0.9308, allocations: 1.699 MB / 1.086 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.9349, allocations: 1.217 MB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006492/0.9414, allocations: 4.368 MB / 1.091 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.9438, allocations: 1.037 MB / 1.092 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.9468, allocations: 1.073 MB / 1.093 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.9489, allocations: 0.89 MB / 1.094 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003709/0.9493, allocations: 40 kB / 1.094 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.9523, allocations: 1.041 MB / 1.095 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004982/0.9528, allocations: 226.8 kB / 1.095 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.9542, allocations: 0.6115 MB / 1.096 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.957, allocations: 1.426 MB / 1.097 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.957, allocations: 3.938 kB / 1.097 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.138e-06/0.957, allocations: 7.938 kB / 1.097 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.681e-05/0.9571, allocations: 3.938 kB / 1.097 GB, free: 4.293 MB / 0.8419 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.003351/0.9605, allocations: 1.479 MB / 1.099 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.9605, allocations: 19.97 kB / 1.099 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.9613, allocations: 223.1 kB / 1.099 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.9639, allocations: 1.078 MB / 1.1 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.9643, allocations: 138.2 kB / 1.1 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.9645, allocations: 84 kB / 1.1 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.9664, allocations: 1 MB / 1.101 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.9664, allocations: 4 kB / 1.101 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.9665, allocations: 40 kB / 1.101 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.9665, allocations: 20 kB / 1.101 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.9681, allocations: 0.6908 MB / 1.102 GB, free: 15.35 MB / 0.8575 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.005299/0.9734, allocations: 4.442 MB / 1.106 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.9746, allocations: 446.5 kB / 1.107 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.9752, allocations: 236.7 kB / 1.107 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009836/0.9762, allocations: 1.152 MB / 1.108 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.9763, allocations: 38.56 kB / 1.108 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/0.9763, allocations: 0 / 1.108 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002989/0.9793, allocations: 1.146 MB / 1.109 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.9793, allocations: 59.34 kB / 1.109 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.9805, allocations: 0.9318 MB / 1.11 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.9805, allocations: 37.7 kB / 1.11 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.981, allocations: 0.5812 MB / 1.111 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.9811, allocations: 106.5 kB / 1.111 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.9812, allocations: 37.7 kB / 1.111 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9813, allocations: 326 kB / 1.111 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.9819, allocations: 216.9 kB / 1.111 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.9826, allocations: 398.9 kB / 1.112 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.9839, allocations: 0.6122 MB / 1.112 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9839, allocations: 3.938 kB / 1.112 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001681/0.9856, allocations: 0.7645 MB / 1.113 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.9856, allocations: 11.98 kB / 1.113 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.9856, allocations: 8.062 kB / 1.113 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/0.9863, allocations: 158.3 kB / 1.113 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.9869, allocations: 159.8 kB / 1.113 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.9881, allocations: 1.72 MB / 1.115 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.9888, allocations: 115.4 kB / 1.115 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.9889, allocations: 28 kB / 1.115 GB, free: 0.7539 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0004296/0.9893, allocations: 270.2 kB / 1.116 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9895, allocations: 114.5 kB / 1.116 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.9914, allocations: 0.7547 MB / 1.116 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.9914, allocations: 7.938 kB / 1.116 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.9914, allocations: 8.062 kB / 1.116 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.9914, allocations: 0 / 1.116 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.9944, allocations: 1.682 MB / 1.118 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.9944, allocations: 4 kB / 1.118 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.9949, allocations: 108 kB / 1.118 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/0.9954, allocations: 154.4 kB / 1.118 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.9955, allocations: 11.98 kB / 1.118 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.9966, allocations: 1.716 MB / 1.12 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.9966, allocations: 8.172 kB / 1.12 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.9982, allocations: 0.8149 MB / 1.121 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.9986, allocations: 247.6 kB / 1.121 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/0.9987, allocations: 8 kB / 1.121 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.9994, allocations: 87.86 kB / 1.121 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.9994, allocations: 35.83 kB / 1.121 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.9995, allocations: 23.98 kB / 1.121 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007985/1, allocations: 0.6303 MB / 1.122 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1, allocations: 0 / 1.122 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001016/1.001, allocations: 359.1 kB / 1.122 GB, free: 9.477 MB / 0.8731 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.0008225/1.002, allocations: 400.1 kB / 1.123 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.004, allocations: 0.571 MB / 1.123 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.004, allocations: 0 / 1.123 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008335/1.005, allocations: 313.2 kB / 1.123 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.007, allocations: 0.5068 MB / 1.124 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/1.011, allocations: 2.337 MB / 1.126 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/1.011, allocations: 1.095 MB / 1.127 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.011, allocations: 79.36 kB / 1.127 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of SimCode: time 1.072e-06/1.011, allocations: 0 / 1.127 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of Templates: time 0.04126/1.053, allocations: 31.47 MB / 1.158 GB, free: 4.777 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches