Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 86.95 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.001347/0.001347, 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5812, allocations: 153.8 MB / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1684/0.7496, allocations: 173.3 MB / 1.192 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008174/0.7578, allocations: 5.387 MB / 1.197 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.7588, allocations: 39.75 kB / 1.197 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.7599, allocations: 389.5 kB / 1.197 GB, free: 12.58 MB / 0.9512 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.003004/0.7629, allocations: 1.209 MB / 1.199 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.7654, allocations: 0.8869 MB / 1.199 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003222/0.7686, allocations: 2.979 MB / 1.202 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.7697, allocations: 0.7419 MB / 1.203 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.7711, allocations: 0.8674 MB / 1.204 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.7722, allocations: 0.79 MB / 1.205 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.7723, allocations: 44 kB / 1.205 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.7744, allocations: 0.9276 MB / 1.206 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.7748, allocations: 438.7 kB / 1.206 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.7751, allocations: 249.1 kB / 1.206 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.7767, allocations: 1.524 MB / 1.208 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7767, allocations: 3.938 kB / 1.208 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7767, allocations: 0 / 1.208 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.7767, allocations: 0 / 1.208 GB, free: 1.898 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002029/0.7787, allocations: 1.301 MB / 1.209 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.7788, allocations: 8.031 kB / 1.209 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.7816, allocations: 0.4943 MB / 1.209 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.783, allocations: 0.7895 MB / 1.21 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.7834, allocations: 133.9 kB / 1.21 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.7835, allocations: 88 kB / 1.21 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.7857, allocations: 1.19 MB / 1.212 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.7857, allocations: 3.938 kB / 1.212 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.7858, allocations: 40 kB / 1.212 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.7859, allocations: 37.92 kB / 1.212 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.7881, allocations: 1.109 MB / 1.213 GB, free: 12.59 MB / 0.9669 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.006466/0.7946, allocations: 4.362 MB / 1.217 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.7965, allocations: 0.8009 MB / 1.218 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/0.7974, allocations: 426.1 kB / 1.218 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.7976, allocations: 97.09 kB / 1.218 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.7976, allocations: 42.56 kB / 1.218 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 4.679e-06/0.7977, allocations: 3.938 kB / 1.218 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.005548/0.8032, allocations: 2.289 MB / 1.221 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.8033, allocations: 55.41 kB / 1.221 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/0.8043, allocations: 0.8647 MB / 1.222 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.8043, allocations: 33.7 kB / 1.222 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.8047, allocations: 499.2 kB / 1.222 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.8048, allocations: 161.7 kB / 1.222 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.8049, allocations: 12 kB / 1.222 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.805, allocations: 337.9 kB / 1.223 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.8059, allocations: 385 kB / 1.223 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.8069, allocations: 0.5208 MB / 1.223 GB, free: 1.301 MB / 0.9669 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.00409/0.811, allocations: 1.556 MB / 1.225 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.811, allocations: 4 kB / 1.225 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002189/0.8132, allocations: 1.021 MB / 1.226 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8132, allocations: 8 kB / 1.226 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.8132, allocations: 4 kB / 1.226 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.8133, allocations: 12.12 kB / 1.226 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009363/0.8142, allocations: 211.7 kB / 1.226 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.8142, allocations: 4 kB / 1.226 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.8153, allocations: 119.6 kB / 1.226 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.8153, allocations: 31.98 kB / 1.226 GB, free: 14.31 MB / 0.9825 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0004682/0.8158, allocations: 314.9 kB / 1.227 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.816, allocations: 94.95 kB / 1.227 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.8162, allocations: 100.8 kB / 1.227 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8162, allocations: 4 kB / 1.227 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.8162, allocations: 4 kB / 1.227 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/0.8181, allocations: 1.073 MB / 1.228 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.8225, allocations: 2.198 MB / 1.23 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.8225, allocations: 4 kB / 1.23 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/0.8234, allocations: 196.1 kB / 1.23 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.8234, allocations: 4 kB / 1.23 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.8234, allocations: 19.98 kB / 1.23 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.8234, allocations: 4 kB / 1.23 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8235, allocations: 7.938 kB / 1.23 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.8264, allocations: 1.495 MB / 1.232 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.8268, allocations: 259.9 kB / 1.232 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.827, allocations: 12 kB / 1.232 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.8279, allocations: 104.2 kB / 1.232 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.828, allocations: 39.91 kB / 1.232 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.8281, allocations: 31.97 kB / 1.232 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007404/0.8288, allocations: 0.5888 MB / 1.233 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.165e-06/0.8288, allocations: 0 / 1.233 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008476/0.8297, allocations: 279.9 kB / 1.233 GB, free: 7.242 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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.0004619/0.8302, allocations: 204.8 kB / 1.233 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.8322, allocations: 0.8462 MB / 1.234 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8322, allocations: 0 / 1.234 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.8331, allocations: 413 kB / 1.234 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.8356, allocations: 0.5635 MB / 1.235 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.8402, allocations: 2.563 MB / 1.237 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.8409, allocations: 1.114 MB / 1.238 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001063/0.842, allocations: 255.8 kB / 1.239 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.8422, allocations: 83.41 kB / 1.239 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8422, allocations: 0 / 1.239 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.4721/1.314, allocations: 19.47 MB / 1.258 GB, free: 229.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches