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.001048/0.001052, allocations: 99.86 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.001062/0.001062, 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6116/0.6119, allocations: 153.6 MB / 1.021 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1578/0.7698, allocations: 158.1 MB / 1.175 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008543/0.7784, allocations: 5.626 MB / 1.181 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.7795, allocations: 35.75 kB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.7811, allocations: 0.556 MB / 1.181 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.7856, allocations: 1.666 MB / 1.183 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.7888, allocations: 1.19 MB / 1.184 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002366/0.7912, allocations: 1.458 MB / 1.185 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.7922, allocations: 0.7117 MB / 1.186 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.7935, allocations: 0.7358 MB / 1.187 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007176/0.7943, allocations: 0.5136 MB / 1.187 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.7944, allocations: 44 kB / 1.187 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.7963, allocations: 0.8814 MB / 1.188 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000388/0.7967, allocations: 391 kB / 1.189 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.797, allocations: 253.1 kB / 1.189 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.7986, allocations: 1.434 MB / 1.19 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.7986, allocations: 0 / 1.19 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7986, allocations: 0 / 1.19 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.7986, allocations: 4 kB / 1.19 GB, free: 3.152 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002074/0.8007, allocations: 1.258 MB / 1.192 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8007, allocations: 11.98 kB / 1.192 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.8028, allocations: 346.3 kB / 1.192 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.8041, allocations: 0.7458 MB / 1.193 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.8045, allocations: 137.9 kB / 1.193 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.8046, allocations: 87.98 kB / 1.193 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.8064, allocations: 1.049 MB / 1.194 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.8064, allocations: 0 / 1.194 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.8065, allocations: 36 kB / 1.194 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.8066, allocations: 37.98 kB / 1.194 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.8081, allocations: 0.847 MB / 1.195 GB, free: 14.48 MB / 0.9512 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.005583/0.8137, allocations: 4.066 MB / 1.199 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.8143, allocations: 359.2 kB / 1.199 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.8144, allocations: 12.58 kB / 1.199 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.8144, allocations: 50.52 kB / 1.199 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.8144, allocations: 0 / 1.199 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38): time 0.002506/0.817, allocations: 1.316 MB / 1.2 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.817, allocations: 55.41 kB / 1.2 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.8184, allocations: 0.9881 MB / 1.201 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.8184, allocations: 37.7 kB / 1.201 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.8188, allocations: 499.3 kB / 1.202 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.819, allocations: 138 kB / 1.202 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.819, allocations: 16 kB / 1.202 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8191, allocations: 326 kB / 1.202 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.8196, allocations: 237.2 kB / 1.203 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.8203, allocations: 405.8 kB / 1.203 GB, free: 5.566 MB / 0.9512 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.001991/0.8223, allocations: 0.7232 MB / 1.204 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8223, allocations: 4 kB / 1.204 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001369/0.8237, allocations: 0.773 MB / 1.204 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8237, allocations: 7.953 kB / 1.204 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8237, allocations: 11.98 kB / 1.204 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8237, allocations: 8 kB / 1.204 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.8243, allocations: 139.8 kB / 1.205 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.8243, allocations: 15.92 kB / 1.205 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.8254, allocations: 91.88 kB / 1.205 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.8254, allocations: 31.98 kB / 1.205 GB, free: 3.738 MB / 0.9512 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.0004427/0.8259, allocations: 314.4 kB / 1.205 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.826, allocations: 102.8 kB / 1.205 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.8262, allocations: 105 kB / 1.205 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8262, allocations: 4 kB / 1.205 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8263, allocations: 4 kB / 1.205 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006326/0.8269, allocations: 0.672 MB / 1.206 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.8293, allocations: 1.587 MB / 1.207 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.8293, allocations: 4 kB / 1.207 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.8297, allocations: 75.91 kB / 1.208 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.8297, allocations: 8.5 kB / 1.208 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.8297, allocations: 19.98 kB / 1.208 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.8298, allocations: 15.94 kB / 1.208 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8298, allocations: 7.953 kB / 1.208 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.8308, allocations: 1.02 MB / 1.209 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.8312, allocations: 235.9 kB / 1.209 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.8314, allocations: 16 kB / 1.209 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/0.8321, allocations: 67.72 kB / 1.209 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.8322, allocations: 35.92 kB / 1.209 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.8323, allocations: 27.98 kB / 1.209 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001001/0.8333, allocations: 0.7034 MB / 1.21 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.455e-06/0.8333, allocations: 0 / 1.21 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008479/0.8341, allocations: 251.9 kB / 1.21 GB, free: 14.1 MB / 0.9669 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.0004157/0.8346, allocations: 213.2 kB / 1.21 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008815/0.8355, allocations: 492.4 kB / 1.211 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8355, allocations: 4.062 kB / 1.211 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.8357, allocations: 191.6 kB / 1.211 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8383, allocations: 0.5867 MB / 1.211 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.841, allocations: 2.177 MB / 1.213 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.8417, allocations: 1.115 MB / 1.215 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000871/0.8426, allocations: 240.2 kB / 1.215 GB, free: 9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.8428, allocations: 75.42 kB / 1.215 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.8428, allocations: 0 / 1.215 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of Templates: time 0.02702/0.8698, allocations: 18.29 MB / 1.233 GB, free: 6.898 MB / 0.9825 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches