Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001619/0.001619, allocations: 168.7 kB / 15.95 MB, free: 204 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.43 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.395/2.395, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7838, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.212/0.9958, allocations: 173.1 MB / 1.124 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008955/1.005, allocations: 5.367 MB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/1.006, allocations: 35.75 kB / 1.129 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/1.007, allocations: 389.5 kB / 1.129 GB, free: 12.1 MB / 0.8887 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. [/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.0034/1.011, allocations: 1.213 MB / 1.13 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/1.013, allocations: 0.8984 MB / 1.131 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003664/1.017, allocations: 2.933 MB / 1.134 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/1.018, allocations: 0.6921 MB / 1.135 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/1.02, allocations: 0.8402 MB / 1.136 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/1.021, allocations: 0.7744 MB / 1.136 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/1.021, allocations: 40 kB / 1.136 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/1.023, allocations: 0.8964 MB / 1.137 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/1.024, allocations: 426.8 kB / 1.138 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/1.024, allocations: 253.1 kB / 1.138 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/1.026, allocations: 1.485 MB / 1.139 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.026, allocations: 0 / 1.139 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/1.026, allocations: 0 / 1.139 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.753e-05/1.026, allocations: 0 / 1.139 GB, free: 1.621 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00206/1.028, allocations: 1.26 MB / 1.141 GB, free: 316 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.028, allocations: 8.031 kB / 1.141 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/1.03, allocations: 350.3 kB / 1.141 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/1.031, allocations: 0.7497 MB / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/1.032, allocations: 133.9 kB / 1.142 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/1.032, allocations: 80 kB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/1.034, allocations: 1.068 MB / 1.143 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.034, allocations: 0 / 1.143 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/1.034, allocations: 40 kB / 1.143 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/1.034, allocations: 37.94 kB / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/1.035, allocations: 0.847 MB / 1.144 GB, free: 12.93 MB / 0.9044 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.005341/1.041, allocations: 4.062 MB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/1.041, allocations: 375.6 kB / 1.148 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/1.042, allocations: 214 kB / 1.148 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.042, allocations: 97.08 kB / 1.148 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.042, allocations: 38.56 kB / 1.148 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 1.794e-06/1.042, allocations: 4 kB / 1.148 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.002541/1.044, allocations: 1.329 MB / 1.15 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.044, allocations: 59.36 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.046, allocations: 0.9842 MB / 1.151 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/1.046, allocations: 37.7 kB / 1.151 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/1.046, allocations: 491.3 kB / 1.151 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.046, allocations: 138 kB / 1.151 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/1.046, allocations: 15.94 kB / 1.151 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.047, allocations: 338 kB / 1.152 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.047, allocations: 229.2 kB / 1.152 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/1.048, allocations: 417.2 kB / 1.152 GB, free: 3.684 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/1.049, allocations: 0.7384 MB / 1.153 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/1.049, allocations: 4 kB / 1.153 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001359/1.051, allocations: 0.746 MB / 1.154 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.051, allocations: 8 kB / 1.154 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.051, allocations: 8.25 kB / 1.154 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.051, allocations: 12 kB / 1.154 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/1.051, allocations: 143.8 kB / 1.154 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.051, allocations: 11.94 kB / 1.154 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/1.052, allocations: 95.78 kB / 1.154 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/1.052, allocations: 24 kB / 1.154 GB, free: 1.871 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.000463/1.053, allocations: 317.5 kB / 1.154 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/1.053, allocations: 98.78 kB / 1.155 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/1.053, allocations: 101 kB / 1.155 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.053, allocations: 4 kB / 1.155 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.053, allocations: 4 kB / 1.155 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006934/1.054, allocations: 0.6792 MB / 1.155 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/1.056, allocations: 1.586 MB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.056, allocations: 8 kB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/1.057, allocations: 87.83 kB / 1.157 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/1.057, allocations: 8 kB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/1.057, allocations: 8 kB / 1.157 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.057, allocations: 11.94 kB / 1.157 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.057, allocations: 8.422 kB / 1.157 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/1.058, allocations: 0.8211 MB / 1.158 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/1.058, allocations: 244 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.058, allocations: 19.92 kB / 1.158 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/1.059, allocations: 61.5 kB / 1.158 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/1.059, allocations: 31.92 kB / 1.158 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/1.059, allocations: 27.98 kB / 1.158 GB, free: 13.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009773/1.06, allocations: 0.7034 MB / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.3e-07/1.06, allocations: 0 / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008348/1.061, allocations: 252 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.000456/1.061, allocations: 202.2 kB / 1.159 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009279/1.062, allocations: 0.4887 MB / 1.16 GB, free: 11.83 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.062, allocations: 4 kB / 1.16 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/1.063, allocations: 185.2 kB / 1.16 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.065, allocations: 0.604 MB / 1.161 GB, free: 11.05 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/1.068, allocations: 2.181 MB / 1.163 GB, free: 8.785 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/1.069, allocations: 1.099 MB / 1.164 GB, free: 7.656 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009823/1.07, allocations: 244.2 kB / 1.164 GB, free: 7.414 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/1.07, allocations: 71.44 kB / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/1.07, allocations: 0 / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of Templates: time 0.03211/1.102, allocations: 18.28 MB / 1.182 GB, free: 5.336 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches