Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0009254/0.0009254, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.0009263/0.0009265, allocations: 177.3 kB / 15.94 MB, free: 228 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 12 kB / 0.8707 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6149, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1678/0.7828, allocations: 158.2 MB / 1.175 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009232/0.7921, allocations: 5.642 MB / 1.181 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.7934, allocations: 31.75 kB / 1.181 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.7953, allocations: 0.5599 MB / 1.181 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/0.8001, allocations: 1.671 MB / 1.183 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.8034, allocations: 1.194 MB / 1.184 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.8062, allocations: 1.691 MB / 1.186 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.8077, allocations: 0.8137 MB / 1.187 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.8099, allocations: 0.7786 MB / 1.187 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.8112, allocations: 0.5993 MB / 1.188 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.8115, allocations: 44 kB / 1.188 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.8135, allocations: 0.6201 MB / 1.189 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006506/0.8141, allocations: 466.8 kB / 1.189 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.8147, allocations: 281.1 kB / 1.189 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.8168, allocations: 1.535 MB / 1.191 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.8168, allocations: 0 / 1.191 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8168, allocations: 0 / 1.191 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.63e-05/0.8169, allocations: 4 kB / 1.191 GB, free: 2.539 MB / 0.9356 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.002777/0.8196, allocations: 1.363 MB / 1.192 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.8197, allocations: 8.031 kB / 1.192 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.8219, allocations: 330.2 kB / 1.193 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.8237, allocations: 0.8363 MB / 1.193 GB, free: 15.91 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.8238, allocations: 81.95 kB / 1.193 GB, free: 15.83 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.824, allocations: 104 kB / 1.194 GB, free: 15.73 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.8261, allocations: 1.069 MB / 1.195 GB, free: 14.65 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.8261, allocations: 0 / 1.195 GB, free: 14.65 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.8263, allocations: 43.91 kB / 1.195 GB, free: 14.61 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.8263, allocations: 38 kB / 1.195 GB, free: 14.58 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.8282, allocations: 1.003 MB / 1.196 GB, free: 13.57 MB / 0.9513 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.006566/0.8347, allocations: 4.251 MB / 1.2 GB, free: 9.023 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.8357, allocations: 0.5964 MB / 1.2 GB, free: 8.422 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.8357, allocations: 12.42 kB / 1.2 GB, free: 8.41 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.8358, allocations: 46.91 kB / 1.2 GB, free: 8.355 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=53): time 2.845e-06/0.8358, allocations: 7.984 kB / 1.2 GB, free: 8.348 MB / 0.9513 GB Notification: Performance of matching and sorting (n=55): time 0.004182/0.84, allocations: 2.221 MB / 1.203 GB, free: 6.004 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.84, allocations: 59.91 kB / 1.203 GB, free: 5.934 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.8411, allocations: 0.8764 MB / 1.204 GB, free: 5.051 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.8412, allocations: 37.7 kB / 1.204 GB, free: 5.008 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.8416, allocations: 0.5223 MB / 1.204 GB, free: 4.477 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.8418, allocations: 193.1 kB / 1.204 GB, free: 4.285 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.8418, allocations: 16 kB / 1.204 GB, free: 4.27 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8419, allocations: 338 kB / 1.205 GB, free: 3.934 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.8425, allocations: 285.8 kB / 1.205 GB, free: 3.652 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.8431, allocations: 429 kB / 1.205 GB, free: 3.184 MB / 0.9513 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.002999/0.8461, allocations: 1.107 MB / 1.206 GB, free: 2.059 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8461, allocations: 4 kB / 1.206 GB, free: 2.055 MB / 0.9513 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001523/0.8476, allocations: 0.9295 MB / 1.207 GB, free: 1.113 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8476, allocations: 4.5 kB / 1.207 GB, free: 1.109 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.8477, allocations: 8 kB / 1.207 GB, free: 1.102 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.8479, allocations: 98.52 kB / 1.207 GB, free: 0.9961 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/0.8486, allocations: 171.7 kB / 1.208 GB, free: 0.8281 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.852, allocations: 4.333 MB / 1.212 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/0.853, allocations: 75.89 kB / 1.212 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.8531, allocations: 24 kB / 1.212 GB, free: 12 MB / 0.9669 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.0005534/0.8537, allocations: 341.5 kB / 1.212 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.8538, allocations: 102.9 kB / 1.212 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.854, allocations: 113.2 kB / 1.212 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.8541, allocations: 7.938 kB / 1.212 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8541, allocations: 0 / 1.212 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.8552, allocations: 0.7769 MB / 1.213 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.8587, allocations: 1.999 MB / 1.215 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.8587, allocations: 7.953 kB / 1.215 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.8594, allocations: 156.1 kB / 1.215 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.713e-05/0.8595, allocations: 44.83 kB / 1.215 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.8596, allocations: 16 kB / 1.215 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.8607, allocations: 1.499 MB / 1.217 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8608, allocations: 12 kB / 1.217 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.8626, allocations: 1.369 MB / 1.218 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/0.8632, allocations: 251.9 kB / 1.218 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.8634, allocations: 19.98 kB / 1.218 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/0.8643, allocations: 75.78 kB / 1.218 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.8644, allocations: 51.83 kB / 1.219 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.8645, allocations: 27.98 kB / 1.219 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007865/0.8653, allocations: 0.6005 MB / 1.219 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8653, allocations: 4 kB / 1.219 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009876/0.8663, allocations: 308 kB / 1.219 GB, free: 3.785 MB / 0.9669 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.0004605/0.8667, allocations: 206.7 kB / 1.22 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.8683, allocations: 1.007 MB / 1.221 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8683, allocations: 4 kB / 1.221 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.869, allocations: 451.5 kB / 1.221 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.8717, allocations: 0.6119 MB / 1.222 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.8752, allocations: 2.497 MB / 1.224 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.8761, allocations: 1.198 MB / 1.225 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009788/0.8771, allocations: 252.4 kB / 1.225 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.8773, allocations: 75.42 kB / 1.226 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.8773, allocations: 0 / 1.226 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.03198/0.9093, allocations: 20.53 MB / 1.246 GB, free: 9.121 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches