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.001529/0.001528, allocations: 108.1 kB / 16.27 MB, free: 6.41 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.001769/0.00177, allocations: 190.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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.277/2.277, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.22 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2991, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05156/0.3507, allocations: 49.79 MB / 0.9989 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.3697, allocations: 12.68 MB / 1.011 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.3734, allocations: 79.56 kB / 1.011 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.3762, allocations: 0.7604 MB / 1.012 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.3821, allocations: 1.83 MB / 1.014 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004074/0.3862, allocations: 1.339 MB / 1.015 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004874/0.3911, allocations: 3.253 MB / 1.018 GB, free: 2.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.3934, allocations: 1.251 MB / 1.02 GB, free: 1.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/0.3973, allocations: 1.291 MB / 1.021 GB, free: 356 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.3992, allocations: 0.937 MB / 1.022 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003953/0.3996, allocations: 96 kB / 1.022 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.4026, allocations: 1.068 MB / 1.023 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.4031, allocations: 286.8 kB / 1.023 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.4044, allocations: 0.6723 MB / 1.024 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.4083, allocations: 1.924 MB / 1.026 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4084, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.466e-06/0.4084, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.431e-05/0.4085, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.8106 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.003562/0.412, allocations: 1.697 MB / 1.027 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4121, allocations: 8.031 kB / 1.027 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.4128, allocations: 211 kB / 1.028 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.4149, allocations: 1.03 MB / 1.029 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.4152, allocations: 126.2 kB / 1.029 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4154, allocations: 84 kB / 1.029 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.4172, allocations: 1.011 MB / 1.03 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.4173, allocations: 3.938 kB / 1.03 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.4173, allocations: 40 kB / 1.03 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.4174, allocations: 20 kB / 1.03 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.4189, allocations: 0.6555 MB / 1.03 GB, free: 6.285 MB / 0.8106 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.005775/0.4247, allocations: 4.763 MB / 1.035 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.426, allocations: 418.5 kB / 1.036 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.4266, allocations: 224.7 kB / 1.036 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/0.4275, allocations: 1.144 MB / 1.037 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4276, allocations: 42.55 kB / 1.037 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=29): time 4.017e-06/0.4276, allocations: 4 kB / 1.037 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29): time 0.003055/0.4306, allocations: 1.086 MB / 1.038 GB, free: 14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4307, allocations: 59.34 kB / 1.038 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4321, allocations: 0.9715 MB / 1.039 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.4322, allocations: 33.7 kB / 1.039 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.4326, allocations: 0.5927 MB / 1.04 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4327, allocations: 102.5 kB / 1.04 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4329, allocations: 122 kB / 1.04 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4331, allocations: 326 kB / 1.04 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.4336, allocations: 201 kB / 1.04 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.4344, allocations: 414.3 kB / 1.041 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.4356, allocations: 0.606 MB / 1.041 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4356, allocations: 0 / 1.041 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001884/0.4375, allocations: 0.7717 MB / 1.042 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4376, allocations: 8 kB / 1.042 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4376, allocations: 4 kB / 1.042 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/0.4383, allocations: 159 kB / 1.042 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.4389, allocations: 147.8 kB / 1.042 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.4401, allocations: 1.724 MB / 1.044 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.4409, allocations: 91.31 kB / 1.044 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.441, allocations: 31.98 kB / 1.044 GB, free: 7.336 MB / 0.8262 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.0005002/0.4415, allocations: 275.7 kB / 1.044 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.4418, allocations: 110.6 kB / 1.044 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.4437, allocations: 0.7308 MB / 1.045 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.4437, allocations: 11.92 kB / 1.045 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4438, allocations: 4 kB / 1.045 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4438, allocations: 0 / 1.045 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.4469, allocations: 1.632 MB / 1.047 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4469, allocations: 4.188 kB / 1.047 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.4474, allocations: 91.91 kB / 1.047 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005881/0.448, allocations: 154.3 kB / 1.047 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.4481, allocations: 11.98 kB / 1.047 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.4491, allocations: 1.708 MB / 1.049 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.4492, allocations: 4.031 kB / 1.049 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4509, allocations: 0.7881 MB / 1.049 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.4513, allocations: 255.5 kB / 1.05 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.4516, allocations: 8 kB / 1.05 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.4522, allocations: 51.89 kB / 1.05 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.4523, allocations: 31.89 kB / 1.05 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.4524, allocations: 19.98 kB / 1.05 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009944/0.4534, allocations: 0.658 MB / 1.05 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4534, allocations: 8 kB / 1.05 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001173/0.4546, allocations: 371.2 kB / 1.051 GB, free: 172 kB / 0.8262 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.001003/0.4556, allocations: 401.4 kB / 1.051 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.4575, allocations: 0.583 MB / 1.052 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4575, allocations: 4 kB / 1.052 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.4584, allocations: 296 kB / 1.052 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.461, allocations: 0.5283 MB / 1.053 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.4645, allocations: 1.881 MB / 1.054 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.4653, allocations: 1.099 MB / 1.056 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.4655, allocations: 75.42 kB / 1.056 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.4655, allocations: 0 / 1.056 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.5246/0.9901, allocations: 32.12 MB / 1.087 GB, free: 131.8 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches