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.00764/0.007641, allocations: 101.7 kB / 15.73 MB, free: 6.484 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.001866/0.001866, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.06 kB / 0.9508 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02638/0.3043, allocations: 26.27 MB / 1.114 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3146, allocations: 7.136 MB / 1.121 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3157, allocations: 35.81 kB / 1.121 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3169, allocations: 381.5 kB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.32, allocations: 1.104 MB / 1.122 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.3225, allocations: 0.9687 MB / 1.123 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.3253, allocations: 2.093 MB / 1.125 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009635/0.3263, allocations: 0.6252 MB / 1.126 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.3282, allocations: 0.7408 MB / 1.126 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008762/0.3291, allocations: 0.5405 MB / 1.127 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.3292, allocations: 56 kB / 1.127 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.3309, allocations: 0.8071 MB / 1.128 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.3312, allocations: 175.4 kB / 1.128 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.3317, allocations: 378.1 kB / 1.128 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.3336, allocations: 1.211 MB / 1.129 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3336, allocations: 0 / 1.129 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3336, allocations: 0 / 1.129 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.3336, allocations: 0 / 1.129 GB, free: 6.816 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.001762/0.3354, allocations: 1.059 MB / 1.13 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3354, allocations: 8.031 kB / 1.13 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.3358, allocations: 87.98 kB / 1.131 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.3371, allocations: 0.7335 MB / 1.131 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.3371, allocations: 40.92 kB / 1.131 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.3372, allocations: 51.91 kB / 1.131 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.3381, allocations: 0.4961 MB / 1.132 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3381, allocations: 4 kB / 1.132 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.3382, allocations: 19.98 kB / 1.132 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.3382, allocations: 19.94 kB / 1.132 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.3388, allocations: 319.7 kB / 1.132 GB, free: 3.859 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.003241/0.342, allocations: 2.744 MB / 1.135 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.3423, allocations: 196.5 kB / 1.135 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3425, allocations: 100.8 kB / 1.135 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.3428, allocations: 340.4 kB / 1.135 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3429, allocations: 42.88 kB / 1.136 GB, free: 120 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.3429, allocations: 0 / 1.136 GB, free: 120 kB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.0006293/0.3435, allocations: 314 kB / 1.136 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3436, allocations: 55.41 kB / 1.136 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.3442, allocations: 0.5225 MB / 1.136 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.3443, allocations: 33.7 kB / 1.136 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.3445, allocations: 351.4 kB / 1.137 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.3446, allocations: 78.84 kB / 1.137 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3447, allocations: 77.61 kB / 1.137 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3449, allocations: 362.8 kB / 1.137 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.345, allocations: 100.8 kB / 1.137 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.3453, allocations: 228.9 kB / 1.138 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.3457, allocations: 344.6 kB / 1.138 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3457, allocations: 0 / 1.138 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006296/0.3464, allocations: 389.6 kB / 1.138 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3464, allocations: 8 kB / 1.138 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3464, allocations: 4 kB / 1.138 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.3464, allocations: 8.562 kB / 1.138 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.3467, allocations: 75.84 kB / 1.138 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3467, allocations: 8 kB / 1.138 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.3471, allocations: 47.58 kB / 1.138 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.3472, allocations: 16 kB / 1.138 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003184/0.3475, allocations: 251.2 kB / 1.139 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002541/0.3478, allocations: 238.6 kB / 1.139 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004146/0.3482, allocations: 332 kB / 1.139 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.3482, allocations: 4 kB / 1.139 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006152/0.3488, allocations: 383.9 kB / 1.14 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3488, allocations: 8.562 kB / 1.14 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3488, allocations: 11.94 kB / 1.14 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3489, allocations: 8 kB / 1.14 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.3491, allocations: 71.91 kB / 1.14 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3491, allocations: 11.88 kB / 1.14 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.3495, allocations: 39.67 kB / 1.14 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.3495, allocations: 23.94 kB / 1.14 GB, free: 11.48 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.0001546/0.3497, allocations: 196.2 kB / 1.14 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3498, allocations: 55.34 kB / 1.14 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.3503, allocations: 286.5 kB / 1.14 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3504, allocations: 3.938 kB / 1.14 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3504, allocations: 0 / 1.14 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00037/0.3507, allocations: 378.2 kB / 1.141 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.3522, allocations: 1.067 MB / 1.142 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3522, allocations: 4 kB / 1.142 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.3524, allocations: 51.92 kB / 1.142 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3524, allocations: 4 kB / 1.142 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3524, allocations: 8.266 kB / 1.142 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3525, allocations: 8 kB / 1.142 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3525, allocations: 4 kB / 1.142 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.3531, allocations: 0.5143 MB / 1.142 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.3534, allocations: 172.4 kB / 1.142 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.3535, allocations: 12 kB / 1.142 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.3538, allocations: 11.98 kB / 1.142 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.3539, allocations: 35.91 kB / 1.142 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.354, allocations: 15.98 kB / 1.142 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004885/0.3544, allocations: 407.1 kB / 1.143 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3545, allocations: 0 / 1.143 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001026/0.3555, allocations: 355.3 kB / 1.143 GB, free: 7.699 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.0007164/0.3562, allocations: 313.6 kB / 1.143 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007244/0.3569, allocations: 408.8 kB / 1.144 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.567e-06/0.357, allocations: 0 / 1.144 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3571, allocations: 111.7 kB / 1.144 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.3588, allocations: 384.4 kB / 1.144 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3606, allocations: 1.073 MB / 1.145 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.3611, allocations: 0.8941 MB / 1.146 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005186/0.3616, allocations: 161.1 kB / 1.146 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3618, allocations: 55.42 kB / 1.146 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of SimCode: time 7.61e-07/0.3618, allocations: 0 / 1.146 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.02243/0.3842, allocations: 13.16 MB / 1.159 GB, free: 7.297 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