Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.0009764/0.0009763, allocations: 98.88 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.001224/0.001224, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.851/2.851, allocations: 462.6 MB / 0.737 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003678, allocations: 10.59 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 159.6 MB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04696/0.4087, allocations: 48.45 MB / 1.107 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.4282, allocations: 12.58 MB / 1.119 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.4315, allocations: 71.5 kB / 1.119 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.434, allocations: 0.6214 MB / 1.12 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006392/0.4404, allocations: 1.699 MB / 1.121 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.4443, allocations: 1.204 MB / 1.122 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006533/0.4509, allocations: 4.379 MB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.4529, allocations: 1.031 MB / 1.128 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.4556, allocations: 1.073 MB / 1.129 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.4572, allocations: 0.9016 MB / 1.13 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.4573, allocations: 40 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.4599, allocations: 1.037 MB / 1.131 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.4602, allocations: 230.9 kB / 1.131 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008251/0.4611, allocations: 0.6154 MB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.4632, allocations: 1.434 MB / 1.133 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4632, allocations: 7.938 kB / 1.133 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4633, allocations: 0 / 1.133 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.4633, allocations: 0 / 1.133 GB, free: 9.395 MB / 0.8887 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.002462/0.4658, allocations: 1.468 MB / 1.134 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4658, allocations: 11.97 kB / 1.134 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006339/0.4665, allocations: 219.1 kB / 1.135 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4685, allocations: 1.096 MB / 1.136 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.4689, allocations: 142.2 kB / 1.136 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.469, allocations: 80 kB / 1.136 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.4709, allocations: 1.002 MB / 1.137 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.4709, allocations: 4 kB / 1.137 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.471, allocations: 36 kB / 1.137 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.4711, allocations: 24 kB / 1.137 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.4726, allocations: 0.6907 MB / 1.138 GB, free: 4.453 MB / 0.8887 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.005434/0.4781, allocations: 4.446 MB / 1.142 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4793, allocations: 442.5 kB / 1.142 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.4799, allocations: 240.7 kB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009845/0.4809, allocations: 1.144 MB / 1.144 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.481, allocations: 42.56 kB / 1.144 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 3.346e-06/0.481, allocations: 0 / 1.144 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.003149/0.4842, allocations: 1.148 MB / 1.145 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.4842, allocations: 59.34 kB / 1.145 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.4854, allocations: 0.9395 MB / 1.146 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.4855, allocations: 29.7 kB / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.486, allocations: 0.5812 MB / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.4861, allocations: 106.4 kB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.4862, allocations: 41.7 kB / 1.147 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4863, allocations: 329.9 kB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.4869, allocations: 217 kB / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.4876, allocations: 394.9 kB / 1.147 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.4888, allocations: 0.6111 MB / 1.148 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4889, allocations: 4 kB / 1.148 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001809/0.4907, allocations: 0.7643 MB / 1.149 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.4907, allocations: 11.98 kB / 1.149 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4907, allocations: 4 kB / 1.149 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007013/0.4914, allocations: 158.7 kB / 1.149 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.4921, allocations: 159.8 kB / 1.149 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.4932, allocations: 1.72 MB / 1.151 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.4941, allocations: 119.4 kB / 1.151 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.4941, allocations: 28 kB / 1.151 GB, free: 5.848 MB / 0.9044 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.0005089/0.4947, allocations: 261.6 kB / 1.151 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4948, allocations: 110.6 kB / 1.151 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.4968, allocations: 0.7702 MB / 1.152 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.4968, allocations: 7.938 kB / 1.152 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4968, allocations: 3.938 kB / 1.152 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4968, allocations: 0 / 1.152 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.4998, allocations: 1.672 MB / 1.154 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4998, allocations: 4 kB / 1.154 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.5003, allocations: 111.9 kB / 1.154 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.5009, allocations: 154.4 kB / 1.154 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.501, allocations: 11.98 kB / 1.154 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.502, allocations: 1.712 MB / 1.156 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.502, allocations: 4.031 kB / 1.156 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.5038, allocations: 0.819 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.5042, allocations: 251.5 kB / 1.157 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.5043, allocations: 8 kB / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.505, allocations: 87.83 kB / 1.157 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.5051, allocations: 31.84 kB / 1.157 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.5051, allocations: 27.91 kB / 1.157 GB, free: 15.56 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008226/0.506, allocations: 0.6303 MB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.506, allocations: 0 / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001071/0.5071, allocations: 363.1 kB / 1.158 GB, free: 14.57 MB / 0.92 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/0.5079, allocations: 404 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.5096, allocations: 0.571 MB / 1.159 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5096, allocations: 4 kB / 1.159 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.5105, allocations: 316.7 kB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.5131, allocations: 0.4991 MB / 1.159 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.5168, allocations: 2.333 MB / 1.162 GB, free: 10.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.5175, allocations: 1.099 MB / 1.163 GB, free: 9.289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.5177, allocations: 71.42 kB / 1.163 GB, free: 9.223 MB / 0.92 GB Notification: Performance of SimCode: time 2.304e-06/0.5177, allocations: 0 / 1.163 GB, free: 9.223 MB / 0.92 GB Notification: Performance of Templates: time 0.04146/0.5592, allocations: 31.46 MB / 1.194 GB, free: 9.883 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches