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.006615/0.006615, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001382/0.001382, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.386/1.386, allocations: 222.9 MB / 240.4 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.288/2.288, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9525, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2636/1.216, allocations: 190.5 MB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01254/1.229, allocations: 5.7 MB / 1.28 GB, free: 9.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/1.231, allocations: 35.81 kB / 1.28 GB, free: 9.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/1.234, allocations: 0.5708 MB / 1.28 GB, free: 8.793 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006805/1.241, allocations: 1.62 MB / 1.282 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005098/1.246, allocations: 1.211 MB / 1.283 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005408/1.251, allocations: 2.556 MB / 1.285 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/1.254, allocations: 1.045 MB / 1.286 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/1.257, allocations: 1.043 MB / 1.287 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/1.26, allocations: 0.8557 MB / 1.288 GB, free: 456 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/1.261, allocations: 112 kB / 1.288 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004874/1.266, allocations: 1.551 MB / 1.29 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/1.267, allocations: 0.4948 MB / 1.29 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/1.268, allocations: 0.6417 MB / 1.291 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005081/1.273, allocations: 2.177 MB / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.273, allocations: 0 / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.213e-06/1.273, allocations: 0 / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.738e-05/1.274, allocations: 0 / 1.293 GB, free: 11.46 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.004085/1.278, allocations: 1.519 MB / 1.295 GB, free: 9.887 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.278, allocations: 12.03 kB / 1.295 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/1.281, allocations: 466.1 kB / 1.295 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/1.284, allocations: 0.8552 MB / 1.296 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/1.284, allocations: 66 kB / 1.296 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/1.285, allocations: 84 kB / 1.296 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/1.288, allocations: 1.183 MB / 1.297 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/1.288, allocations: 0 / 1.297 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.288, allocations: 40 kB / 1.297 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/1.288, allocations: 30 kB / 1.297 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/1.291, allocations: 1.073 MB / 1.298 GB, free: 6.023 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.008384/1.299, allocations: 4.307 MB / 1.303 GB, free: 1.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/1.301, allocations: 0.7443 MB / 1.303 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000965/1.302, allocations: 404.4 kB / 1.304 GB, free: 304 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/1.303, allocations: 101.1 kB / 1.304 GB, free: 184 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/1.303, allocations: 38.56 kB / 1.304 GB, free: 136 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/1.303, allocations: 3.938 kB / 1.304 GB, free: 132 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.006487/1.309, allocations: 2.178 MB / 1.306 GB, free: 13.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.309, allocations: 59.34 kB / 1.306 GB, free: 13.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.311, allocations: 0.8686 MB / 1.307 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/1.311, allocations: 41.64 kB / 1.307 GB, free: 12.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/1.311, allocations: 499.3 kB / 1.307 GB, free: 12.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.311, allocations: 157.7 kB / 1.307 GB, free: 12.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/1.312, allocations: 122.2 kB / 1.308 GB, free: 12.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.312, allocations: 330 kB / 1.308 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/1.313, allocations: 369 kB / 1.308 GB, free: 11.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/1.314, allocations: 0.5013 MB / 1.309 GB, free: 10.89 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.006302/1.32, allocations: 2.27 MB / 1.311 GB, free: 8.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.32, allocations: 0 / 1.311 GB, free: 8.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002545/1.323, allocations: 0.9859 MB / 1.312 GB, free: 7.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.323, allocations: 8 kB / 1.312 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.323, allocations: 4 kB / 1.312 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/1.323, allocations: 4 kB / 1.312 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/1.324, allocations: 199.8 kB / 1.312 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/1.324, allocations: 8 kB / 1.312 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.325, allocations: 59.94 kB / 1.312 GB, free: 7.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/1.325, allocations: 27.98 kB / 1.312 GB, free: 7.25 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.0006026/1.326, allocations: 324.4 kB / 1.313 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/1.326, allocations: 90.97 kB / 1.313 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/1.326, allocations: 108.8 kB / 1.313 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.326, allocations: 7.938 kB / 1.313 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/1.326, allocations: 0 / 1.313 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/1.328, allocations: 1.022 MB / 1.314 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/1.334, allocations: 2.148 MB / 1.316 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.334, allocations: 4 kB / 1.316 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/1.335, allocations: 160.2 kB / 1.316 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/1.335, allocations: 8 kB / 1.316 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/1.335, allocations: 15.98 kB / 1.316 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.335, allocations: 7.938 kB / 1.316 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.335, allocations: 7.938 kB / 1.316 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/1.338, allocations: 1.419 MB / 1.317 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006485/1.339, allocations: 255.9 kB / 1.318 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/1.339, allocations: 12 kB / 1.318 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.34, allocations: 71.86 kB / 1.318 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.34, allocations: 39.83 kB / 1.318 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.525e-05/1.34, allocations: 35.92 kB / 1.318 GB, free: 1.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00103/1.341, allocations: 0.6044 MB / 1.318 GB, free: 0.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.341, allocations: 0 / 1.318 GB, free: 0.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001087/1.342, allocations: 264 kB / 1.319 GB, free: 420 kB / 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.0005924/1.343, allocations: 198.1 kB / 1.319 GB, free: 216 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002276/1.345, allocations: 0.811 MB / 1.32 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.345, allocations: 0 / 1.32 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.346, allocations: 393 kB / 1.32 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/1.349, allocations: 0.5871 MB / 1.321 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/1.355, allocations: 2.181 MB / 1.323 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/1.356, allocations: 1.106 MB / 1.324 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001018/1.357, allocations: 263.8 kB / 1.324 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.357, allocations: 83.41 kB / 1.324 GB, free: 10.71 MB / 1.061 GB Notification: Performance of SimCode: time 1.122e-06/1.357, allocations: 0 / 1.324 GB, free: 10.71 MB / 1.061 GB Notification: Performance of Templates: time 0.03826/1.395, allocations: 21.08 MB / 1.345 GB, free: 5.965 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches