Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.385/2.385, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5411, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1917/0.7328, allocations: 190.5 MB / 1.136 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.7452, allocations: 5.709 MB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.7466, allocations: 43.75 kB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.7483, allocations: 0.5669 MB / 1.142 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.7522, allocations: 1.832 MB / 1.144 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.755, allocations: 1.162 MB / 1.145 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004238/0.7592, allocations: 2.957 MB / 1.148 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.7612, allocations: 1.128 MB / 1.149 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.7633, allocations: 1.047 MB / 1.15 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.7657, allocations: 0.9617 MB / 1.151 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.766, allocations: 124 kB / 1.151 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.7699, allocations: 1.446 MB / 1.152 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008087/0.7707, allocations: 0.5689 MB / 1.153 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.7718, allocations: 0.7234 MB / 1.154 GB, free: 356 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.7752, allocations: 2.31 MB / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7753, allocations: 4 kB / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7753, allocations: 0 / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.7753, allocations: 4 kB / 1.156 GB, free: 14.02 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002351/0.7776, allocations: 1.612 MB / 1.157 GB, free: 12.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7777, allocations: 15.97 kB / 1.157 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.7779, allocations: 156.2 kB / 1.158 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.7799, allocations: 338.1 kB / 1.158 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.7812, allocations: 0.8629 MB / 1.159 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.7813, allocations: 74 kB / 1.159 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.7814, allocations: 99.98 kB / 1.159 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7832, allocations: 1.093 MB / 1.16 GB, free: 9.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.7832, allocations: 0 / 1.16 GB, free: 9.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.7833, allocations: 44 kB / 1.16 GB, free: 9.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.7834, allocations: 42 kB / 1.16 GB, free: 9.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.785, allocations: 0.9876 MB / 1.161 GB, free: 8.602 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.005894/0.7909, allocations: 4.268 MB / 1.165 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/0.7919, allocations: 0.6034 MB / 1.166 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.7924, allocations: 344.4 kB / 1.166 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.7926, allocations: 105.5 kB / 1.166 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.7926, allocations: 42.98 kB / 1.166 GB, free: 2.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.7927, allocations: 4 kB / 1.166 GB, free: 2.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004039/0.7967, allocations: 2.197 MB / 1.168 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.7968, allocations: 59.91 kB / 1.168 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.7979, allocations: 0.8881 MB / 1.169 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.7979, allocations: 37.7 kB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.7983, allocations: 0.5146 MB / 1.17 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.7985, allocations: 193.2 kB / 1.17 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.7987, allocations: 134.6 kB / 1.17 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7988, allocations: 330 kB / 1.17 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.7994, allocations: 285.8 kB / 1.171 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.8, allocations: 440.9 kB / 1.171 GB, free: 13.64 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.004138/0.8042, allocations: 1.751 MB / 1.173 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8042, allocations: 0 / 1.173 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001564/0.8057, allocations: 0.922 MB / 1.174 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8058, allocations: 8 kB / 1.174 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.8058, allocations: 7.938 kB / 1.174 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.806, allocations: 102.7 kB / 1.174 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.8068, allocations: 163.8 kB / 1.174 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.8104, allocations: 4.628 MB / 1.179 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.8112, allocations: 39.81 kB / 1.179 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.8113, allocations: 28.09 kB / 1.179 GB, free: 5.488 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004855/0.8118, allocations: 350.3 kB / 1.179 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.812, allocations: 98.88 kB / 1.179 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.8122, allocations: 113.1 kB / 1.179 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.8122, allocations: 7.984 kB / 1.179 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8122, allocations: 0 / 1.179 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.8133, allocations: 0.7691 MB / 1.18 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.8165, allocations: 1.984 MB / 1.182 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8165, allocations: 416 / 1.182 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.8173, allocations: 151.8 kB / 1.182 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.262e-05/0.8174, allocations: 40.83 kB / 1.182 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.8174, allocations: 16 kB / 1.182 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.8187, allocations: 1.602 MB / 1.184 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8187, allocations: 4.078 kB / 1.184 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.8205, allocations: 1.215 MB / 1.185 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.8209, allocations: 251.9 kB / 1.185 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.821, allocations: 20 kB / 1.185 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.8218, allocations: 35.97 kB / 1.185 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.8219, allocations: 47.61 kB / 1.185 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.822, allocations: 31.98 kB / 1.185 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007724/0.8228, allocations: 0.6161 MB / 1.186 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8228, allocations: 4 kB / 1.186 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000915/0.8237, allocations: 304 kB / 1.186 GB, free: 13.46 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.826, allocations: 1.841 MB / 1.188 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.8278, allocations: 1.109 MB / 1.189 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8278, allocations: 192 / 1.189 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.8284, allocations: 450 kB / 1.189 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.8313, allocations: 0.657 MB / 1.19 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.8424, allocations: 8.295 MB / 1.198 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.8432, allocations: 1.173 MB / 1.199 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009497/0.8441, allocations: 252.4 kB / 1.2 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.8447, allocations: 387.3 kB / 1.2 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.8447, allocations: 0 / 1.2 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/0.9072, allocations: 30.25 MB / 1.229 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.39, allocations: 9.953 kB / 1.229 GB, free: 1.051 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches