Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001261/0.00126, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009678/0.009678, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 443.3 MB / 0.7175 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004448, allocations: 10.97 kB / 0.8796 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3462, allocations: 155.2 MB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1902/0.5365, allocations: 185.8 MB / 1.213 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.5472, allocations: 5.708 MB / 1.218 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.5486, allocations: 31.75 kB / 1.218 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.55, allocations: 0.4935 MB / 1.219 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.5539, allocations: 1.521 MB / 1.22 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.5569, allocations: 1.087 MB / 1.221 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004035/0.5609, allocations: 3.541 MB / 1.225 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.5622, allocations: 0.8563 MB / 1.225 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.5642, allocations: 0.8634 MB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.5662, allocations: 0.8431 MB / 1.227 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.5663, allocations: 40 kB / 1.227 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.5696, allocations: 1.722 MB / 1.229 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005515/0.5702, allocations: 438.7 kB / 1.229 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.571, allocations: 0.5847 MB / 1.23 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.5747, allocations: 2.161 MB / 1.232 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5748, allocations: 0 / 1.232 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5748, allocations: 0 / 1.232 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.491e-05/0.5748, allocations: 0 / 1.232 GB, free: 5.863 MB / 0.9825 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.002488/0.5773, allocations: 1.297 MB / 1.233 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5774, allocations: 8.031 kB / 1.233 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.5805, allocations: 498.1 kB / 1.234 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.5819, allocations: 0.8279 MB / 1.234 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.5823, allocations: 125.9 kB / 1.235 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.5825, allocations: 91.94 kB / 1.235 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.5848, allocations: 1.198 MB / 1.236 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.5848, allocations: 0 / 1.236 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5849, allocations: 40 kB / 1.236 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.585, allocations: 34 kB / 1.236 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.5875, allocations: 1.112 MB / 1.237 GB, free: 0.5234 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.007204/0.5947, allocations: 4.374 MB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.5968, allocations: 0.7989 MB / 1.242 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5978, allocations: 424.6 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.5981, allocations: 105.1 kB / 1.243 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.5981, allocations: 42.56 kB / 1.243 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 3.046e-06/0.5981, allocations: 0 / 1.243 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.006254/0.6044, allocations: 2.293 MB / 1.245 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.6044, allocations: 55.41 kB / 1.245 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6055, allocations: 0.8724 MB / 1.246 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.6056, allocations: 41.69 kB / 1.246 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.606, allocations: 499.2 kB / 1.246 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.6061, allocations: 153.7 kB / 1.246 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.6062, allocations: 57.69 kB / 1.246 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6063, allocations: 330 kB / 1.247 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.6073, allocations: 393 kB / 1.247 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.6084, allocations: 0.5188 MB / 1.248 GB, free: 5.16 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.006683/0.6151, allocations: 2.385 MB / 1.25 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6152, allocations: 4 kB / 1.25 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002495/0.6177, allocations: 1.029 MB / 1.251 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.6177, allocations: 4 kB / 1.251 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6177, allocations: 4 kB / 1.251 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.6177, allocations: 11.94 kB / 1.251 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6188, allocations: 211.8 kB / 1.251 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.6188, allocations: 4 kB / 1.251 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.62, allocations: 119.7 kB / 1.251 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.6201, allocations: 27.98 kB / 1.251 GB, free: 1.293 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: 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.0005204/0.6206, allocations: 323.3 kB / 1.252 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6208, allocations: 94.97 kB / 1.252 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.621, allocations: 108.7 kB / 1.252 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.621, allocations: 4 kB / 1.252 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.621, allocations: 0 / 1.252 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.605/1.226, allocations: 1.063 MB / 1.253 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/1.231, allocations: 2.205 MB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.231, allocations: 6.312 kB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/1.232, allocations: 179.3 kB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.232, allocations: 9.656 kB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/1.232, allocations: 19.48 kB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/1.232, allocations: 13.34 kB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.232, allocations: 5.375 kB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/1.235, allocations: 1.485 MB / 1.257 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/1.236, allocations: 254.7 kB / 1.257 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.236, allocations: 15.22 kB / 1.257 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.237, allocations: 112.9 kB / 1.257 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.237, allocations: 41.28 kB / 1.257 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/1.237, allocations: 28.56 kB / 1.257 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009516/1.238, allocations: 0.6022 MB / 1.258 GB, free: 220 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.52e-07/1.238, allocations: 0 / 1.258 GB, free: 220 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001927/1.24, allocations: 273.7 kB / 1.258 GB, free: 220 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.00108/1.241, allocations: 209.2 kB / 1.258 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003823/1.245, allocations: 0.851 MB / 1.259 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.005e-05/1.245, allocations: 2.469 kB / 1.259 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.247, allocations: 413.4 kB / 1.259 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/1.251, allocations: 0.5633 MB / 1.26 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/1.257, allocations: 2.65 MB / 1.263 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/1.257, allocations: 1.107 MB / 1.264 GB, free: 218 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001211/1.259, allocations: 255.2 kB / 1.264 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/1.259, allocations: 76.38 kB / 1.264 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.259, allocations: 0 / 1.264 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04356/1.302, allocations: 20.07 MB / 1.284 GB, free: 210.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches