Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001976/0.001976, allocations: 177.3 kB / 15.94 MB, free: 228 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.219 MB / 190.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.449/2.449, allocations: 390.2 MB / 0.6653 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8819, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1966/1.078, allocations: 155.8 MB / 1.106 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01454/1.093, allocations: 10.92 MB / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/1.094, allocations: 31.75 kB / 1.116 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/1.096, allocations: 430 kB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/1.099, allocations: 1.05 MB / 1.118 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.102, allocations: 0.8214 MB / 1.119 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002119/1.104, allocations: 1.164 MB / 1.12 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009235/1.105, allocations: 0.6139 MB / 1.12 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/1.108, allocations: 1.215 MB / 1.121 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/1.108, allocations: 430.2 kB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/1.109, allocations: 40 kB / 1.122 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/1.11, allocations: 415.3 kB / 1.122 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/1.11, allocations: 311.1 kB / 1.123 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/1.111, allocations: 209.2 kB / 1.123 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/1.112, allocations: 0.9859 MB / 1.124 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.112, allocations: 0 / 1.124 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.643e-06/1.112, allocations: 0 / 1.124 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.047e-05/1.112, allocations: 3.938 kB / 1.124 GB, free: 1.352 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001853/1.114, allocations: 1.048 MB / 1.125 GB, free: 260 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.114, allocations: 8.031 kB / 1.125 GB, free: 252 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.115, allocations: 214.6 kB / 1.125 GB, free: 36 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.116, allocations: 0.6289 MB / 1.126 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/1.116, allocations: 58 kB / 1.126 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.117, allocations: 80 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.118, allocations: 0.921 MB / 1.127 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.118, allocations: 3.938 kB / 1.127 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/1.118, allocations: 28 kB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/1.118, allocations: 33.31 kB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/1.119, allocations: 0.6099 MB / 1.127 GB, free: 13.55 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.004657/1.124, allocations: 4.589 MB / 1.132 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/1.125, allocations: 0.5476 MB / 1.132 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/1.125, allocations: 11.98 kB / 1.132 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/1.125, allocations: 47.23 kB / 1.132 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/1.125, allocations: 0 / 1.132 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002926/1.128, allocations: 1.578 MB / 1.134 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/1.128, allocations: 115.1 kB / 1.134 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/1.129, allocations: 0.7115 MB / 1.135 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/1.129, allocations: 33.7 kB / 1.135 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/1.129, allocations: 415.7 kB / 1.135 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.129, allocations: 157.8 kB / 1.135 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/1.129, allocations: 12 kB / 1.135 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.129, allocations: 333.9 kB / 1.136 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/1.13, allocations: 189.1 kB / 1.136 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/1.13, allocations: 416.9 kB / 1.136 GB, free: 3.875 MB / 0.8887 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.132, allocations: 0.6702 MB / 1.137 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.132, allocations: 0 / 1.137 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001/1.133, allocations: 0.6644 MB / 1.138 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.133, allocations: 11.98 kB / 1.138 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.133, allocations: 8 kB / 1.138 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.133, allocations: 11.94 kB / 1.138 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/1.133, allocations: 127.8 kB / 1.138 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/1.133, allocations: 12.5 kB / 1.138 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/1.134, allocations: 57.52 kB / 1.138 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/1.134, allocations: 24 kB / 1.138 GB, free: 2.27 MB / 0.8887 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: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003868/1.134, allocations: 283.1 kB / 1.138 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.135, allocations: 82.97 kB / 1.138 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/1.135, allocations: 91.66 kB / 1.138 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.135, allocations: 4 kB / 1.138 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.135, allocations: 0 / 1.138 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007029/1.135, allocations: 0.7041 MB / 1.139 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/1.138, allocations: 1.642 MB / 1.141 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.138, allocations: 4 kB / 1.141 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/1.138, allocations: 95.89 kB / 1.141 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.138, allocations: 11.94 kB / 1.141 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.138, allocations: 12.5 kB / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/1.138, allocations: 11.92 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/1.138, allocations: 8 kB / 1.141 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/1.14, allocations: 1.048 MB / 1.142 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/1.14, allocations: 204.1 kB / 1.142 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/1.14, allocations: 15.95 kB / 1.142 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/1.14, allocations: 39.97 kB / 1.142 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/1.141, allocations: 39.84 kB / 1.142 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/1.141, allocations: 24 kB / 1.142 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006314/1.141, allocations: 0.5068 MB / 1.142 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.141, allocations: 0 / 1.142 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007364/1.142, allocations: 200 kB / 1.143 GB, free: 12.88 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004778/1.142, allocations: 198.9 kB / 1.143 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007567/1.143, allocations: 467.9 kB / 1.143 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.143, allocations: 1.562 kB / 1.143 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002936/1.144, allocations: 212.9 kB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.146, allocations: 444.5 kB / 1.144 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/1.148, allocations: 2.003 MB / 1.146 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/1.149, allocations: 1.048 MB / 1.147 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006827/1.15, allocations: 199 kB / 1.147 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/1.15, allocations: 67.44 kB / 1.147 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/1.15, allocations: 0 / 1.147 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of Templates: time 0.02561/1.176, allocations: 13.93 MB / 1.161 GB, free: 10.48 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches