Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00148/0.001486, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001466/0.001466, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9443/0.9458, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2487/1.195, allocations: 190.5 MB / 1.275 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.205, allocations: 5.711 MB / 1.28 GB, free: 9.594 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/1.207, allocations: 39.75 kB / 1.28 GB, free: 9.555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/1.209, allocations: 0.5669 MB / 1.281 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/1.214, allocations: 1.616 MB / 1.282 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/1.218, allocations: 1.211 MB / 1.284 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004422/1.222, allocations: 2.558 MB / 1.286 GB, free: 3.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/1.224, allocations: 1.032 MB / 1.287 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/1.227, allocations: 1.066 MB / 1.288 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/1.229, allocations: 0.8591 MB / 1.289 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/1.23, allocations: 108 kB / 1.289 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/1.234, allocations: 1.555 MB / 1.291 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009851/1.235, allocations: 0.4987 MB / 1.291 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/1.236, allocations: 0.6416 MB / 1.292 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004738/1.241, allocations: 2.174 MB / 1.294 GB, free: 11.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.241, allocations: 4 kB / 1.294 GB, free: 11.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.295e-06/1.241, allocations: 0 / 1.294 GB, free: 11.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.598e-05/1.241, allocations: 0 / 1.294 GB, free: 11.63 MB / 1.029 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.003761/1.245, allocations: 1.523 MB / 1.295 GB, free: 10.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.245, allocations: 8.031 kB / 1.295 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/1.248, allocations: 470.1 kB / 1.296 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/1.25, allocations: 0.8513 MB / 1.297 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/1.251, allocations: 70 kB / 1.297 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/1.251, allocations: 87.98 kB / 1.297 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/1.254, allocations: 1.175 MB / 1.298 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/1.254, allocations: 0 / 1.298 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/1.254, allocations: 36 kB / 1.298 GB, free: 7.305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/1.254, allocations: 37.94 kB / 1.298 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/1.257, allocations: 1.066 MB / 1.299 GB, free: 6.199 MB / 1.029 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.00858/1.265, allocations: 4.307 MB / 1.303 GB, free: 1.625 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/1.267, allocations: 0.7444 MB / 1.304 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/1.268, allocations: 401.7 kB / 1.304 GB, free: 488 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/1.269, allocations: 105.1 kB / 1.304 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.269, allocations: 46.5 kB / 1.304 GB, free: 308 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.116e-06/1.269, allocations: 0 / 1.304 GB, free: 308 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.006353/1.275, allocations: 2.178 MB / 1.307 GB, free: 14.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.275, allocations: 59.34 kB / 1.307 GB, free: 14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.276, allocations: 0.8685 MB / 1.308 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.277, allocations: 37.7 kB / 1.308 GB, free: 13.08 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/1.277, allocations: 491.3 kB / 1.308 GB, free: 12.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.277, allocations: 169.6 kB / 1.308 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/1.277, allocations: 114.2 kB / 1.308 GB, free: 12.31 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.278, allocations: 330 kB / 1.309 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009372/1.279, allocations: 373 kB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.28, allocations: 0.4974 MB / 1.309 GB, free: 11.07 MB / 1.045 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.006244/1.286, allocations: 2.266 MB / 1.312 GB, free: 8.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.286, allocations: 4 kB / 1.312 GB, free: 8.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002518/1.289, allocations: 0.9859 MB / 1.313 GB, free: 7.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.289, allocations: 4 kB / 1.313 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.289, allocations: 4 kB / 1.313 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.289, allocations: 8 kB / 1.313 GB, free: 7.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/1.29, allocations: 199.8 kB / 1.313 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/1.29, allocations: 7.938 kB / 1.313 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.291, allocations: 63.94 kB / 1.313 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/1.291, allocations: 27.98 kB / 1.313 GB, free: 7.426 MB / 1.045 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.0006476/1.292, allocations: 314.1 kB / 1.313 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/1.292, allocations: 90.97 kB / 1.313 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/1.292, allocations: 104.8 kB / 1.313 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.292, allocations: 11.94 kB / 1.313 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.292, allocations: 0 / 1.313 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002038/1.294, allocations: 1.018 MB / 1.314 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/1.3, allocations: 2.148 MB / 1.317 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/1.3, allocations: 0 / 1.317 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/1.3, allocations: 168.1 kB / 1.317 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.3, allocations: 4 kB / 1.317 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/1.301, allocations: 23.98 kB / 1.317 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.301, allocations: 4 kB / 1.317 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.301, allocations: 7.938 kB / 1.317 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/1.304, allocations: 1.411 MB / 1.318 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007206/1.305, allocations: 255.9 kB / 1.318 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/1.305, allocations: 16 kB / 1.318 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.306, allocations: 67.86 kB / 1.318 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.306, allocations: 39.89 kB / 1.318 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.306, allocations: 35.92 kB / 1.318 GB, free: 1.457 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001085/1.308, allocations: 0.6043 MB / 1.319 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.1e-07/1.308, allocations: 0 / 1.319 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001318/1.309, allocations: 268 kB / 1.319 GB, free: 0.5977 MB / 1.045 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.0006855/1.31, allocations: 214.3 kB / 1.32 GB, free: 392 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002549/1.312, allocations: 0.8071 MB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.312, allocations: 4.75 kB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.313, allocations: 392.3 kB / 1.321 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.317, allocations: 0.5892 MB / 1.321 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/1.323, allocations: 2.245 MB / 1.323 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.324, allocations: 1.106 MB / 1.325 GB, free: 11.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/1.324, allocations: 83.42 kB / 1.325 GB, free: 11.07 MB / 1.061 GB Notification: Performance of SimCode: time 1.122e-06/1.324, allocations: 4 kB / 1.325 GB, free: 11.07 MB / 1.061 GB Notification: Performance of Templates: time 0.0303/1.355, allocations: 16.97 MB / 1.341 GB, free: 10.26 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches