Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01282/0.01282, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.00231/0.00231, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.549/2.549, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 67.52 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2947, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02896/0.3237, allocations: 26.29 MB / 1.114 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3354, allocations: 7.119 MB / 1.121 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.3367, allocations: 35.72 kB / 1.121 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.3379, allocations: 401.5 kB / 1.121 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.341, allocations: 1.162 MB / 1.122 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.3437, allocations: 0.9622 MB / 1.123 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.3466, allocations: 2.101 MB / 1.125 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009721/0.3476, allocations: 0.6252 MB / 1.126 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.3494, allocations: 0.7452 MB / 1.126 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008963/0.3503, allocations: 0.5366 MB / 1.127 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3505, allocations: 56 kB / 1.127 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.3522, allocations: 0.8071 MB / 1.128 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.3524, allocations: 179.4 kB / 1.128 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.353, allocations: 386 kB / 1.128 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.3551, allocations: 1.207 MB / 1.13 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3551, allocations: 0 / 1.13 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3551, allocations: 0 / 1.13 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.871e-05/0.3551, allocations: 0 / 1.13 GB, free: 6.773 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001824/0.357, allocations: 1.055 MB / 1.131 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.357, allocations: 12.03 kB / 1.131 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.3574, allocations: 87.98 kB / 1.131 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.3586, allocations: 0.7374 MB / 1.131 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.3587, allocations: 36.94 kB / 1.131 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.3587, allocations: 47.91 kB / 1.131 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.3595, allocations: 0.5001 MB / 1.132 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.3595, allocations: 4 kB / 1.132 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.3596, allocations: 19.94 kB / 1.132 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.3596, allocations: 12 kB / 1.132 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.3602, allocations: 319.7 kB / 1.132 GB, free: 3.824 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.002925/0.3631, allocations: 2.748 MB / 1.135 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.3634, allocations: 190.5 kB / 1.135 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3636, allocations: 100.8 kB / 1.135 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.3639, allocations: 336.4 kB / 1.136 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.364, allocations: 50.8 kB / 1.136 GB, free: 80 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.364, allocations: 0 / 1.136 GB, free: 80 kB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.0005995/0.3646, allocations: 304.9 kB / 1.136 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3646, allocations: 51.41 kB / 1.136 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.3653, allocations: 0.5264 MB / 1.136 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3653, allocations: 33.7 kB / 1.136 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.3655, allocations: 355.2 kB / 1.137 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.3656, allocations: 78.84 kB / 1.137 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3658, allocations: 77.61 kB / 1.137 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3659, allocations: 358.8 kB / 1.137 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3661, allocations: 96.8 kB / 1.137 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3663, allocations: 233.9 kB / 1.138 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.3667, allocations: 342.1 kB / 1.138 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3667, allocations: 0 / 1.138 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005917/0.3673, allocations: 392.2 kB / 1.138 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3674, allocations: 8 kB / 1.138 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3674, allocations: 7.938 kB / 1.138 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3674, allocations: 4 kB / 1.138 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.3677, allocations: 79.91 kB / 1.138 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3677, allocations: 7.938 kB / 1.138 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.3681, allocations: 47.89 kB / 1.138 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.3681, allocations: 20 kB / 1.138 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000289/0.3684, allocations: 252 kB / 1.139 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002279/0.3686, allocations: 238.6 kB / 1.139 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003718/0.369, allocations: 332 kB / 1.139 GB, free: 12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/0.369, allocations: 0 / 1.139 GB, free: 12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005516/0.3696, allocations: 387.8 kB / 1.14 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3696, allocations: 8 kB / 1.14 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3696, allocations: 4 kB / 1.14 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.3696, allocations: 4 kB / 1.14 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3699, allocations: 76.47 kB / 1.14 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3699, allocations: 23.86 kB / 1.14 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.3702, allocations: 39.67 kB / 1.14 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3702, allocations: 16 kB / 1.14 GB, free: 11.45 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3703, allocations: 200.2 kB / 1.14 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.3704, allocations: 55.34 kB / 1.14 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.3709, allocations: 282.4 kB / 1.14 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3709, allocations: 11.94 kB / 1.14 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.371, allocations: 0 / 1.14 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003423/0.3713, allocations: 378.7 kB / 1.141 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3727, allocations: 1.068 MB / 1.142 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3727, allocations: 4 kB / 1.142 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.3729, allocations: 51.91 kB / 1.142 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3729, allocations: 4 kB / 1.142 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.373, allocations: 8 kB / 1.142 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.373, allocations: 4 kB / 1.142 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.373, allocations: 3.938 kB / 1.142 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.3737, allocations: 0.5185 MB / 1.142 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.3739, allocations: 172.3 kB / 1.142 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.3739, allocations: 8 kB / 1.142 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.3743, allocations: 15.98 kB / 1.143 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3744, allocations: 27.91 kB / 1.143 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.3744, allocations: 15.98 kB / 1.143 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00046/0.3749, allocations: 415.1 kB / 1.143 GB, free: 8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3749, allocations: 0 / 1.143 GB, free: 8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001055/0.376, allocations: 351.3 kB / 1.143 GB, free: 7.656 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007269/0.3767, allocations: 310.1 kB / 1.144 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007796/0.3775, allocations: 408.2 kB / 1.144 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3775, allocations: 0.625 kB / 1.144 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3777, allocations: 111.8 kB / 1.144 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.3792, allocations: 372.4 kB / 1.144 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.381, allocations: 1.081 MB / 1.145 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.3816, allocations: 0.8941 MB / 1.146 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004577/0.382, allocations: 160.3 kB / 1.147 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3821, allocations: 59.36 kB / 1.147 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.3822, allocations: 0 / 1.147 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.02508/0.4072, allocations: 12.98 MB / 1.159 GB, free: 7.438 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches