Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008363, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009284/0.0009284, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.434 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.615/2.615, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5603, allocations: 153.8 MB / 1.022 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1525/0.7128, allocations: 155.2 MB / 1.174 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005118/0.718, allocations: 3.18 MB / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.7187, allocations: 15.88 kB / 1.177 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.7194, allocations: 214.7 kB / 1.177 GB, free: 1.164 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001916/0.7214, allocations: 0.7503 MB / 1.178 GB, free: 420 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.7228, allocations: 0.4984 MB / 1.178 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.7247, allocations: 1.775 MB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.7252, allocations: 355.3 kB / 1.181 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007667/0.726, allocations: 489.9 kB / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.7266, allocations: 450.3 kB / 1.181 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.7267, allocations: 20 kB / 1.181 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.7277, allocations: 427 kB / 1.182 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.728, allocations: 203.4 kB / 1.182 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.7281, allocations: 141.4 kB / 1.182 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007831/0.7289, allocations: 0.7755 MB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7289, allocations: 0 / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7289, allocations: 3.938 kB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.7289, allocations: 0 / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001183/0.7301, allocations: 0.7948 MB / 1.184 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7302, allocations: 15.97 kB / 1.184 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.7313, allocations: 171.1 kB / 1.184 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.732, allocations: 497.7 kB / 1.184 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.7321, allocations: 33 kB / 1.184 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.7321, allocations: 44 kB / 1.184 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.7329, allocations: 474.3 kB / 1.185 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.7329, allocations: 0 / 1.185 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.733, allocations: 24 kB / 1.185 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.733, allocations: 20.98 kB / 1.185 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.7337, allocations: 407.8 kB / 1.185 GB, free: 8.754 MB / 0.9356 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.002335/0.736, allocations: 1.736 MB / 1.187 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.7365, allocations: 300.8 kB / 1.187 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.7367, allocations: 172.8 kB / 1.188 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.7369, allocations: 101.1 kB / 1.188 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.7369, allocations: 38.56 kB / 1.188 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.737, allocations: 3.938 kB / 1.188 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.001906/0.7389, allocations: 1.056 MB / 1.189 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.7389, allocations: 67.34 kB / 1.189 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.7394, allocations: 441.9 kB / 1.189 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.7394, allocations: 37.7 kB / 1.189 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.7396, allocations: 252.1 kB / 1.189 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/0.7397, allocations: 122.3 kB / 1.19 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.7397, allocations: 4 kB / 1.19 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7399, allocations: 354.8 kB / 1.19 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.7401, allocations: 123.9 kB / 1.19 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.7403, allocations: 209.6 kB / 1.19 GB, free: 3.5 MB / 0.9356 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.7417, allocations: 0.5567 MB / 1.191 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7417, allocations: 3.984 kB / 1.191 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005916/0.7423, allocations: 417.3 kB / 1.191 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7424, allocations: 4 kB / 1.191 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7424, allocations: 4 kB / 1.191 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7424, allocations: 0 / 1.191 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.7427, allocations: 71.91 kB / 1.191 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7427, allocations: 7.953 kB / 1.191 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.7431, allocations: 28.17 kB / 1.191 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.7432, allocations: 12 kB / 1.191 GB, free: 2.383 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * 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 initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.7434, allocations: 217.6 kB / 1.191 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.7435, allocations: 51.34 kB / 1.192 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.7436, allocations: 64.75 kB / 1.192 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7437, allocations: 4 kB / 1.192 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7437, allocations: 0 / 1.192 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004703/0.7441, allocations: 408.3 kB / 1.192 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.7458, allocations: 1.245 MB / 1.193 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7458, allocations: 4 kB / 1.193 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.7462, allocations: 67.91 kB / 1.193 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.7462, allocations: 8 kB / 1.193 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.7462, allocations: 8 kB / 1.193 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.7462, allocations: 11.98 kB / 1.193 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.7463, allocations: 7.938 kB / 1.193 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.7471, allocations: 0.7001 MB / 1.194 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.7473, allocations: 168.4 kB / 1.194 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.7474, allocations: 15.98 kB / 1.194 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.7478, allocations: 33.22 kB / 1.194 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.7478, allocations: 31.86 kB / 1.194 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.7479, allocations: 16 kB / 1.194 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003322/0.7482, allocations: 331 kB / 1.195 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7482, allocations: 0 / 1.195 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005406/0.7488, allocations: 152 kB / 1.195 GB, free: 14.64 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003626/0.7492, allocations: 168.7 kB / 1.195 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005281/0.7497, allocations: 308.3 kB / 1.195 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7497, allocations: 7.938 kB / 1.195 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.7499, allocations: 161.3 kB / 1.195 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7516, allocations: 361.6 kB / 1.196 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.7532, allocations: 1.332 MB / 1.197 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.7537, allocations: 0.8862 MB / 1.198 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004783/0.7541, allocations: 136.6 kB / 1.198 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.7543, allocations: 43.44 kB / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.7543, allocations: 3.938 kB / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.01669/0.771, allocations: 10.19 MB / 1.208 GB, free: 1.133 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches