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.001225/0.001226, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001184/0.001184, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.437/2.437, allocations: 437.1 MB / 0.7112 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.47 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.675/0.9561, allocations: 190.5 MB / 1.205 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009456/0.9656, allocations: 5.705 MB / 1.21 GB, free: 180 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.9669, allocations: 45.5 kB / 1.21 GB, free: 160 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.9684, allocations: 0.5611 MB / 1.211 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.9722, allocations: 1.618 MB / 1.213 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.975, allocations: 1.22 MB / 1.214 GB, free: 13.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.9779, allocations: 2.565 MB / 1.216 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.9791, allocations: 1.039 MB / 1.217 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.9808, allocations: 1.039 MB / 1.218 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.9825, allocations: 0.8527 MB / 1.219 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.9827, allocations: 112.5 kB / 1.219 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.9855, allocations: 1.552 MB / 1.221 GB, free: 9.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000475/0.986, allocations: 0.4912 MB / 1.221 GB, free: 9.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.9867, allocations: 0.6418 MB / 1.222 GB, free: 8.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.9894, allocations: 2.173 MB / 1.224 GB, free: 6.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9894, allocations: 7.938 kB / 1.224 GB, free: 6.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9894, allocations: 0 / 1.224 GB, free: 6.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.9895, allocations: 0 / 1.224 GB, free: 6.711 MB / 0.92 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.002372/0.9918, allocations: 1.512 MB / 1.225 GB, free: 5.148 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9919, allocations: 12.92 kB / 1.225 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/0.9949, allocations: 470.1 kB / 1.226 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.9965, allocations: 0.859 MB / 1.227 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.9966, allocations: 65.98 kB / 1.227 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.9967, allocations: 84 kB / 1.227 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.9988, allocations: 1.171 MB / 1.228 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.9988, allocations: 3.938 kB / 1.228 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.9989, allocations: 40 kB / 1.228 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.999, allocations: 37.98 kB / 1.228 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/1.001, allocations: 1.07 MB / 1.229 GB, free: 1.285 MB / 0.92 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.00678/1.008, allocations: 4.3 MB / 1.233 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.01, allocations: 0.7534 MB / 1.234 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009248/1.011, allocations: 404.6 kB / 1.234 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/1.011, allocations: 101.1 kB / 1.235 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.011, allocations: 39.44 kB / 1.235 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/1.011, allocations: 0 / 1.235 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.005513/1.017, allocations: 2.175 MB / 1.237 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.017, allocations: 59.34 kB / 1.237 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/1.018, allocations: 0.8725 MB / 1.238 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/1.018, allocations: 37.7 kB / 1.238 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/1.018, allocations: 495.2 kB / 1.238 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/1.018, allocations: 161.7 kB / 1.238 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.018, allocations: 122.1 kB / 1.238 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.019, allocations: 326 kB / 1.239 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008704/1.019, allocations: 377 kB / 1.239 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000992/1.02, allocations: 0.5013 MB / 1.24 GB, free: 6.152 MB / 0.9356 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.005719/1.026, allocations: 2.268 MB / 1.242 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.026, allocations: 0 / 1.242 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002161/1.028, allocations: 0.9821 MB / 1.243 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.028, allocations: 8 kB / 1.243 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.028, allocations: 4 kB / 1.243 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.028, allocations: 4 kB / 1.243 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/1.029, allocations: 195.8 kB / 1.243 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.029, allocations: 11.94 kB / 1.243 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/1.03, allocations: 63.92 kB / 1.243 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/1.03, allocations: 28 kB / 1.243 GB, free: 2.52 MB / 0.9356 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.0004454/1.031, allocations: 317.5 kB / 1.243 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.031, allocations: 94.88 kB / 1.243 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/1.031, allocations: 104.8 kB / 1.244 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.031, allocations: 7.938 kB / 1.244 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.031, allocations: 3.938 kB / 1.244 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001898/1.033, allocations: 1.03 MB / 1.245 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/1.038, allocations: 2.126 MB / 1.247 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.038, allocations: 4 kB / 1.247 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/1.039, allocations: 168.1 kB / 1.247 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.039, allocations: 4 kB / 1.247 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/1.039, allocations: 16 kB / 1.247 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.039, allocations: 8 kB / 1.247 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.039, allocations: 7.938 kB / 1.247 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/1.042, allocations: 1.422 MB / 1.248 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/1.042, allocations: 255.9 kB / 1.248 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.042, allocations: 16 kB / 1.248 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/1.043, allocations: 71.05 kB / 1.249 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/1.043, allocations: 39.88 kB / 1.249 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/1.043, allocations: 27.98 kB / 1.249 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007615/1.044, allocations: 0.6044 MB / 1.249 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.044, allocations: 3.938 kB / 1.249 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00084/1.045, allocations: 268 kB / 1.249 GB, free: 11.69 MB / 0.9512 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.0004618/1.046, allocations: 219 kB / 1.25 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.048, allocations: 0.8154 MB / 1.25 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.048, allocations: 0 / 1.25 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/1.048, allocations: 393.3 kB / 1.251 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.051, allocations: 0.5836 MB / 1.251 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/1.055, allocations: 2.159 MB / 1.254 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/1.056, allocations: 1.11 MB / 1.255 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000847/1.057, allocations: 263.8 kB / 1.255 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/1.057, allocations: 79.42 kB / 1.255 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/1.057, allocations: 0 / 1.255 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of Templates: time 0.03346/1.091, allocations: 20.94 MB / 1.275 GB, free: 1.383 MB / 0.9669 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches