Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,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.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,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.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001239/0.001239, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.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.607/2.607, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.00033, allocations: 16 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5812, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1787/0.76, allocations: 173.3 MB / 1.192 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008226/0.7683, allocations: 5.382 MB / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008816/0.7692, allocations: 27.81 kB / 1.197 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.7703, allocations: 405.4 kB / 1.197 GB, free: 12.44 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003422/0.7737, allocations: 1.365 MB / 1.199 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.7761, allocations: 0.8418 MB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.7801, allocations: 3.446 MB / 1.203 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.7814, allocations: 0.794 MB / 1.204 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.7835, allocations: 0.8868 MB / 1.204 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.7852, allocations: 0.9107 MB / 1.205 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.7853, allocations: 47.94 kB / 1.205 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.7881, allocations: 0.7054 MB / 1.206 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000781/0.7889, allocations: 0.4908 MB / 1.207 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006685/0.7896, allocations: 281.1 kB / 1.207 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.7925, allocations: 1.633 MB / 1.208 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.7926, allocations: 0 / 1.208 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7926, allocations: 0 / 1.208 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.462e-05/0.7926, allocations: 0 / 1.208 GB, free: 0.9961 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002473/0.7951, allocations: 1.371 MB / 1.21 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.7951, allocations: 15.98 kB / 1.21 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.7973, allocations: 342.1 kB / 1.21 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.7987, allocations: 0.8362 MB / 1.211 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.7988, allocations: 81.94 kB / 1.211 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.7989, allocations: 96 kB / 1.211 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.8008, allocations: 1.085 MB / 1.212 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.8009, allocations: 0 / 1.212 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.801, allocations: 48 kB / 1.212 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.801, allocations: 41.98 kB / 1.212 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.8027, allocations: 0.9993 MB / 1.213 GB, free: 11.99 MB / 0.9669 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.005836/0.8086, allocations: 4.251 MB / 1.217 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/0.8095, allocations: 0.5996 MB / 1.218 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.81, allocations: 346.5 kB / 1.218 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.8102, allocations: 101.5 kB / 1.218 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.8102, allocations: 50.95 kB / 1.218 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.8102, allocations: 3.938 kB / 1.218 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55): time 0.003957/0.8142, allocations: 2.22 MB / 1.221 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.8142, allocations: 55.97 kB / 1.221 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.8153, allocations: 0.8726 MB / 1.222 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.8154, allocations: 41.7 kB / 1.222 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.8157, allocations: 0.5107 MB / 1.222 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.8159, allocations: 205.1 kB / 1.222 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.816, allocations: 12 kB / 1.222 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8161, allocations: 337.9 kB / 1.223 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.8166, allocations: 285.8 kB / 1.223 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.8172, allocations: 436.9 kB / 1.223 GB, free: 1.148 MB / 0.9669 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.002864/0.82, allocations: 1.107 MB / 1.224 GB, free: 24 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8201, allocations: 4 kB / 1.224 GB, free: 20 kB / 0.9669 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001495/0.8216, allocations: 0.9296 MB / 1.225 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8216, allocations: 4 kB / 1.225 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.8216, allocations: 4.5 kB / 1.225 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.8218, allocations: 102.5 kB / 1.225 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.8225, allocations: 167.8 kB / 1.226 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.8258, allocations: 4.294 MB / 1.23 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/0.8267, allocations: 71.8 kB / 1.23 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.8267, allocations: 24 kB / 1.23 GB, free: 10 MB / 0.9825 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005222/0.8273, allocations: 351.5 kB / 1.23 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.8274, allocations: 98.88 kB / 1.23 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.8276, allocations: 117.2 kB / 1.23 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8277, allocations: 4 kB / 1.23 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8277, allocations: 0 / 1.23 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/0.8288, allocations: 0.7731 MB / 1.231 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.8319, allocations: 2.011 MB / 1.233 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8319, allocations: 0 / 1.233 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.8326, allocations: 155.8 kB / 1.233 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.595e-05/0.8327, allocations: 45.05 kB / 1.233 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.8328, allocations: 23.92 kB / 1.233 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.8339, allocations: 1.476 MB / 1.235 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8339, allocations: 12 kB / 1.235 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.8356, allocations: 1.218 MB / 1.236 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.8361, allocations: 259.8 kB / 1.236 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.8362, allocations: 16 kB / 1.236 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.837, allocations: 67.88 kB / 1.236 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.8371, allocations: 47.84 kB / 1.236 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.8371, allocations: 31.98 kB / 1.236 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007411/0.8379, allocations: 0.6044 MB / 1.237 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8379, allocations: 0 / 1.237 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001091/0.839, allocations: 308 kB / 1.237 GB, free: 2.043 MB / 0.9825 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/0.8394, allocations: 204.1 kB / 1.237 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.8409, allocations: 1.003 MB / 1.238 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8409, allocations: 192 / 1.238 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.8415, allocations: 450.3 kB / 1.239 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.8442, allocations: 0.6224 MB / 1.239 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.8476, allocations: 2.511 MB / 1.242 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.8484, allocations: 1.17 MB / 1.243 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009891/0.8494, allocations: 248.4 kB / 1.243 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.8496, allocations: 75.42 kB / 1.243 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8496, allocations: 0 / 1.243 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.4795/1.329, allocations: 20.55 MB / 1.263 GB, free: 225.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches