Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_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.001184/0.001191, allocations: 103.1 kB / 16.35 MB, free: 6.285 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.001139/0.001139, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 63.59 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3325, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9652/1.298, allocations: 170.8 MB / 1.118 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006891/1.305, allocations: 3.387 MB / 1.121 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.306, allocations: 21.03 kB / 1.121 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/1.307, allocations: 316.6 kB / 1.122 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003649/1.311, allocations: 1.009 MB / 1.123 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/1.313, allocations: 0.6651 MB / 1.123 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002777/1.316, allocations: 1.53 MB / 1.125 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/1.317, allocations: 481.8 kB / 1.125 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/1.318, allocations: 0.5643 MB / 1.126 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/1.32, allocations: 466.9 kB / 1.126 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/1.32, allocations: 56.36 kB / 1.126 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/1.323, allocations: 0.8291 MB / 1.127 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004433/1.323, allocations: 239.9 kB / 1.127 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006162/1.324, allocations: 337.3 kB / 1.128 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/1.327, allocations: 1.139 MB / 1.129 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.327, allocations: 1.156 kB / 1.129 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/1.327, allocations: 0 / 1.129 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.327, allocations: 0 / 1.129 GB, free: 4.996 MB / 0.8575 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.002074/1.329, allocations: 0.9055 MB / 1.13 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.329, allocations: 14.53 kB / 1.13 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/1.33, allocations: 173.5 kB / 1.13 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.331, allocations: 0.5161 MB / 1.13 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/1.331, allocations: 39.91 kB / 1.13 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.332, allocations: 41.97 kB / 1.13 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/1.333, allocations: 480.8 kB / 1.131 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.333, allocations: 1.125 kB / 1.131 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/1.333, allocations: 18.12 kB / 1.131 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/1.333, allocations: 17 kB / 1.131 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/1.333, allocations: 414.2 kB / 1.131 GB, free: 20.08 MB / 0.8731 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.002768/1.336, allocations: 1.729 MB / 1.133 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/1.337, allocations: 291.2 kB / 1.133 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/1.337, allocations: 184.1 kB / 1.133 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.337, allocations: 99.06 kB / 1.133 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.337, allocations: 53.09 kB / 1.133 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.464e-06/1.337, allocations: 0 / 1.133 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002158/1.339, allocations: 1.048 MB / 1.134 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/1.339, allocations: 57.55 kB / 1.135 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/1.34, allocations: 461.7 kB / 1.135 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/1.34, allocations: 36.17 kB / 1.135 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/1.34, allocations: 252 kB / 1.135 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.821e-05/1.34, allocations: 117.7 kB / 1.135 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.34, allocations: 67.42 kB / 1.135 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.341, allocations: 354.4 kB / 1.136 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/1.341, allocations: 126.6 kB / 1.136 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/1.341, allocations: 197.4 kB / 1.136 GB, free: 17.96 MB / 0.8731 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.001905/1.343, allocations: 0.8592 MB / 1.137 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.343, allocations: 0 / 1.137 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006513/1.344, allocations: 417.6 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.344, allocations: 6.281 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/1.344, allocations: 1.406 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.344, allocations: 5.625 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/1.344, allocations: 70.84 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.344, allocations: 9.344 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/1.345, allocations: 10.11 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/1.345, allocations: 14.19 kB / 1.137 GB, free: 17.72 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003372/1.345, allocations: 214.8 kB / 1.138 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.345, allocations: 57.72 kB / 1.138 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/1.345, allocations: 58.98 kB / 1.138 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.345, allocations: 3.781 kB / 1.138 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.345, allocations: 0 / 1.138 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005356/1.346, allocations: 409.1 kB / 1.138 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.348, allocations: 1.236 MB / 1.139 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.348, allocations: 9.125 kB / 1.139 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/1.348, allocations: 74.2 kB / 1.139 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.348, allocations: 9.438 kB / 1.139 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/1.348, allocations: 15.81 kB / 1.139 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/1.348, allocations: 8.312 kB / 1.139 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.348, allocations: 6.25 kB / 1.139 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/1.349, allocations: 0.7058 MB / 1.14 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/1.349, allocations: 175.6 kB / 1.14 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/1.35, allocations: 10.06 kB / 1.14 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/1.35, allocations: 20.61 kB / 1.14 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/1.35, allocations: 36.66 kB / 1.14 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/1.35, allocations: 21.25 kB / 1.14 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004171/1.35, allocations: 328 kB / 1.141 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.35, allocations: 0 / 1.141 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007202/1.351, allocations: 140.8 kB / 1.141 GB, free: 16.43 MB / 0.8731 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 (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.0004607/1.352, allocations: 178.8 kB / 1.141 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006107/1.352, allocations: 328 kB / 1.141 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.352, allocations: 1.281 kB / 1.141 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/1.353, allocations: 157.6 kB / 1.141 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.354, allocations: 365.6 kB / 1.142 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.356, allocations: 1.111 MB / 1.143 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/1.357, allocations: 0.8931 MB / 1.144 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005613/1.357, allocations: 131.8 kB / 1.144 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.357, allocations: 44.08 kB / 1.144 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/1.357, allocations: 0.9375 kB / 1.144 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.02431/1.382, allocations: 11.05 MB / 1.155 GB, free: 13.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches