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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001565/0.001565, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001891/0.001891, allocations: 192.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.88 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6773, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2084/0.8857, allocations: 188.2 MB / 1.2 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.8964, allocations: 5.774 MB / 1.206 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.8985, allocations: 39.75 kB / 1.206 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.9002, allocations: 0.4897 MB / 1.207 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.9048, allocations: 1.526 MB / 1.208 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.9085, allocations: 1.089 MB / 1.209 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00455/0.913, allocations: 3.541 MB / 1.213 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.9144, allocations: 0.8809 MB / 1.213 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.9165, allocations: 0.9063 MB / 1.214 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.9185, allocations: 0.88 MB / 1.215 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.9187, allocations: 59.94 kB / 1.215 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004059/0.9227, allocations: 1.738 MB / 1.217 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.9234, allocations: 446.8 kB / 1.217 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.9243, allocations: 0.5831 MB / 1.218 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.9282, allocations: 2.201 MB / 1.22 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9282, allocations: 0 / 1.22 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.91e-07/0.9282, allocations: 0 / 1.22 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.9282, allocations: 4 kB / 1.22 GB, free: 1.668 MB / 0.9669 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.002803/0.931, allocations: 1.519 MB / 1.222 GB, free: 96 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9311, allocations: 12.03 kB / 1.222 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.9342, allocations: 470.1 kB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.9358, allocations: 0.8239 MB / 1.223 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.9361, allocations: 117.9 kB / 1.223 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.9363, allocations: 87.98 kB / 1.223 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.9386, allocations: 1.183 MB / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.9387, allocations: 7.938 kB / 1.224 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.9388, allocations: 39.98 kB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.9388, allocations: 41.98 kB / 1.224 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.9412, allocations: 1.073 MB / 1.225 GB, free: 12.19 MB / 0.9825 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.00778/0.949, allocations: 4.335 MB / 1.23 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.951, allocations: 0.7637 MB / 1.23 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009229/0.9519, allocations: 414.4 kB / 1.231 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.9521, allocations: 101.1 kB / 1.231 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.9522, allocations: 42.56 kB / 1.231 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.9522, allocations: 0 / 1.231 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.007094/0.9593, allocations: 2.203 MB / 1.233 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.9593, allocations: 55.41 kB / 1.233 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.9611, allocations: 0.8608 MB / 1.234 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.9612, allocations: 37.7 kB / 1.234 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.9618, allocations: 495.3 kB / 1.234 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.962, allocations: 169.6 kB / 1.235 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.9622, allocations: 118.2 kB / 1.235 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9623, allocations: 338 kB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.9634, allocations: 365 kB / 1.235 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.9644, allocations: 0.513 MB / 1.236 GB, free: 0.9688 MB / 0.9825 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.006416/0.9709, allocations: 2.293 MB / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9709, allocations: 0 / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00254/0.9734, allocations: 0.9937 MB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.9735, allocations: 11.98 kB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9735, allocations: 8.125 kB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.9735, allocations: 7.938 kB / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.9745, allocations: 195.7 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.9745, allocations: 7.984 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.9758, allocations: 103.8 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.9758, allocations: 23.94 kB / 1.239 GB, free: 13.25 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 system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007019/0.9765, allocations: 318.5 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.9768, allocations: 94.88 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.9771, allocations: 112.7 kB / 1.24 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9771, allocations: 7.938 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.9772, allocations: 0 / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002262/0.9794, allocations: 1.03 MB / 1.241 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.9843, allocations: 2.152 MB / 1.243 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.9844, allocations: 4 kB / 1.243 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/0.9853, allocations: 172.1 kB / 1.243 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.9853, allocations: 4 kB / 1.243 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.9853, allocations: 16 kB / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.9854, allocations: 7.984 kB / 1.243 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.9854, allocations: 11.88 kB / 1.243 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.9886, allocations: 1.429 MB / 1.245 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.9892, allocations: 255.9 kB / 1.245 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.9894, allocations: 23.98 kB / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.9904, allocations: 93.28 kB / 1.245 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.9906, allocations: 43.89 kB / 1.245 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.9907, allocations: 27.98 kB / 1.245 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009314/0.9916, allocations: 0.6005 MB / 1.246 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9916, allocations: 0 / 1.246 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001141/0.9928, allocations: 264 kB / 1.246 GB, free: 6.344 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005922/0.9934, allocations: 220.3 kB / 1.246 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.9956, allocations: 0.811 MB / 1.247 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9956, allocations: 4 kB / 1.247 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.9966, allocations: 401 kB / 1.247 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.9994, allocations: 0.5624 MB / 1.248 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/1.005, allocations: 2.548 MB / 1.25 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/1.006, allocations: 1.107 MB / 1.251 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001178/1.007, allocations: 259.8 kB / 1.252 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.008, allocations: 75.42 kB / 1.252 GB, free: 288 kB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.008, allocations: 0 / 1.252 GB, free: 288 kB / 0.9981 GB Notification: Performance of Templates: time 0.5751/1.583, allocations: 20.19 MB / 1.271 GB, free: 227.6 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