Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00104/0.00104, 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.001305/0.001306, 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.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 14.27 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1681/0.4484, allocations: 173.2 MB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007793/0.4563, allocations: 5.376 MB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007661/0.457, allocations: 35.75 kB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009912/0.4581, allocations: 393.5 kB / 1.233 GB, free: 1.875 MB / 0.9825 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.002667/0.4607, allocations: 1.205 MB / 1.234 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.4631, allocations: 0.8913 MB / 1.235 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003148/0.4662, allocations: 2.94 MB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/0.4672, allocations: 0.7038 MB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.4687, allocations: 0.844 MB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.4698, allocations: 0.7745 MB / 1.24 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.4699, allocations: 40 kB / 1.24 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.4719, allocations: 0.8925 MB / 1.241 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.4723, allocations: 430.8 kB / 1.241 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.4725, allocations: 249.1 kB / 1.242 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.474, allocations: 1.481 MB / 1.243 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.474, allocations: 0 / 1.243 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.474, allocations: 0 / 1.243 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.4741, allocations: 4 kB / 1.243 GB, free: 7.398 MB / 0.9981 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.001843/0.4759, allocations: 1.262 MB / 1.244 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4759, allocations: 8.031 kB / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.4778, allocations: 346.3 kB / 1.245 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.4789, allocations: 0.7458 MB / 1.245 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.4792, allocations: 133.9 kB / 1.245 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4793, allocations: 87.98 kB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.481, allocations: 1.064 MB / 1.247 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.481, allocations: 0 / 1.247 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.4811, allocations: 40 kB / 1.247 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.4812, allocations: 34 kB / 1.247 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.4826, allocations: 0.8392 MB / 1.247 GB, free: 2.723 MB / 0.9981 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.5074/0.99, allocations: 4.062 MB / 1.251 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.9908, allocations: 367.4 kB / 1.252 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.9911, allocations: 212.4 kB / 1.252 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.9913, allocations: 104.8 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.9913, allocations: 37.88 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.344e-06/0.9914, allocations: 0.9375 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.002667/0.994, allocations: 1.322 MB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.9941, allocations: 55.56 kB / 1.253 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.9955, allocations: 0.9907 MB / 1.254 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.9955, allocations: 36.86 kB / 1.254 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.9958, allocations: 497.3 kB / 1.255 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.9959, allocations: 143 kB / 1.255 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.996, allocations: 9.469 kB / 1.255 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.996, allocations: 338.7 kB / 1.255 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.9964, allocations: 238.5 kB / 1.256 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.9969, allocations: 405.9 kB / 1.256 GB, free: 189 MB / 0.9981 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.001572/0.9985, allocations: 0.737 MB / 1.257 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.9985, allocations: 3.719 kB / 1.257 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001177/0.9997, allocations: 0.7565 MB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9997, allocations: 6.688 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9997, allocations: 5.156 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9997, allocations: 8.562 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/1, allocations: 142 kB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1, allocations: 15.55 kB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/1.001, allocations: 95.23 kB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/1.001, allocations: 33.12 kB / 1.258 GB, free: 188.8 MB / 0.9981 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.0003656/1.002, allocations: 304 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.002, allocations: 95.66 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/1.002, allocations: 107.6 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.002, allocations: 6.906 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.002, allocations: 1.25 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005109/1.002, allocations: 0.6818 MB / 1.259 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.005, allocations: 1.585 MB / 1.26 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.005, allocations: 5.531 kB / 1.26 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/1.005, allocations: 92.88 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/1.005, allocations: 6.031 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/1.005, allocations: 10.08 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.005, allocations: 7.531 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.005, allocations: 9.812 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/1.006, allocations: 0.8188 MB / 1.261 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/1.006, allocations: 240.1 kB / 1.262 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.006, allocations: 18.2 kB / 1.262 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/1.007, allocations: 60.77 kB / 1.262 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.007, allocations: 38.89 kB / 1.262 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/1.007, allocations: 35.83 kB / 1.262 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009166/1.008, allocations: 0.7028 MB / 1.262 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.008, allocations: 0 / 1.262 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007821/1.009, allocations: 254 kB / 1.263 GB, free: 187.1 MB / 0.9981 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.0004026/1.009, allocations: 199.4 kB / 1.263 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008199/1.01, allocations: 498.4 kB / 1.263 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.01, allocations: 2.875 kB / 1.263 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/1.01, allocations: 186.4 kB / 1.263 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.013, allocations: 0.5936 MB / 1.264 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/1.016, allocations: 2.175 MB / 1.266 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/1.017, allocations: 1.098 MB / 1.267 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001071/1.018, allocations: 245.7 kB / 1.268 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.018, allocations: 69.39 kB / 1.268 GB, free: 185 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.018, allocations: 0.6875 kB / 1.268 GB, free: 185 MB / 0.9981 GB Notification: Performance of Templates: time 0.03397/1.052, allocations: 18.29 MB / 1.285 GB, free: 179.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches