Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001068, allocations: 92.16 kB / 16.02 MB, free: 80 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.001669/0.001669, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.63/1.63, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003531, allocations: 11.98 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7469, allocations: 142.4 MB / 0.9557 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2073/0.9543, allocations: 185.6 MB / 1.137 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009688/0.964, allocations: 5.697 MB / 1.143 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.9655, allocations: 35.75 kB / 1.143 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.9673, allocations: 497.4 kB / 1.143 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.9717, allocations: 1.521 MB / 1.145 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.975, allocations: 1.081 MB / 1.146 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004389/0.9794, allocations: 3.471 MB / 1.149 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.9809, allocations: 0.8197 MB / 1.15 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.9831, allocations: 0.8634 MB / 1.151 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.9854, allocations: 0.8108 MB / 1.151 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.9857, allocations: 40 kB / 1.151 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.9891, allocations: 1.703 MB / 1.153 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007588/0.9899, allocations: 430.7 kB / 1.154 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.9912, allocations: 0.5692 MB / 1.154 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.9937, allocations: 1.559 MB / 1.156 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9937, allocations: 0 / 1.156 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.086e-06/0.9937, allocations: 0 / 1.156 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.01e-05/0.9938, allocations: 0 / 1.156 GB, free: 2.023 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002621/0.9964, allocations: 1.25 MB / 1.157 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9965, allocations: 8.031 kB / 1.157 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.9988, allocations: 338.3 kB / 1.157 GB, free: 388 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/1, allocations: 0.7805 MB / 1.158 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/1.001, allocations: 129.9 kB / 1.158 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/1.001, allocations: 87.92 kB / 1.158 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/1.003, allocations: 1.076 MB / 1.159 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.003, allocations: 3.906 kB / 1.159 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.003, allocations: 40 kB / 1.159 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/1.003, allocations: 33.98 kB / 1.159 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.005, allocations: 0.8431 MB / 1.16 GB, free: 13.31 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.006013/1.011, allocations: 4.079 MB / 1.164 GB, free: 8.969 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/1.012, allocations: 367.8 kB / 1.164 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/1.012, allocations: 208.8 kB / 1.165 GB, free: 8.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.012, allocations: 105.1 kB / 1.165 GB, free: 8.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.012, allocations: 42.56 kB / 1.165 GB, free: 8.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/1.012, allocations: 0 / 1.165 GB, free: 8.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002836/1.015, allocations: 1.325 MB / 1.166 GB, free: 6.844 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.015, allocations: 55.41 kB / 1.166 GB, free: 6.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.017, allocations: 0.9998 MB / 1.167 GB, free: 5.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/1.017, allocations: 37.64 kB / 1.167 GB, free: 5.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/1.017, allocations: 499.3 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.017, allocations: 146 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/1.018, allocations: 49.69 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.018, allocations: 334 kB / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/1.018, allocations: 237.2 kB / 1.168 GB, free: 4.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/1.019, allocations: 413.2 kB / 1.169 GB, free: 3.984 MB / 0.92 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.002612/1.021, allocations: 1.199 MB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.021, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001538/1.023, allocations: 0.7731 MB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.023, allocations: 8 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.023, allocations: 4 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.023, allocations: 8 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/1.024, allocations: 135.8 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/1.024, allocations: 12.14 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.025, allocations: 95.78 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/1.025, allocations: 35.98 kB / 1.171 GB, free: 1.625 MB / 0.92 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0005092/1.025, allocations: 313.5 kB / 1.171 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.026, allocations: 102.8 kB / 1.171 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/1.026, allocations: 101 kB / 1.171 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.026, allocations: 4 kB / 1.171 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.026, allocations: 0 / 1.171 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006816/1.027, allocations: 0.6713 MB / 1.172 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/1.029, allocations: 1.59 MB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/1.029, allocations: 4 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/1.03, allocations: 79.91 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/1.03, allocations: 16.42 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/1.03, allocations: 20 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/1.03, allocations: 11.92 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.03, allocations: 4 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.031, allocations: 0.8256 MB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/1.031, allocations: 243.8 kB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.032, allocations: 8 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/1.033, allocations: 65.53 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/1.033, allocations: 31.84 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/1.033, allocations: 35.92 kB / 1.175 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001152/1.034, allocations: 0.7074 MB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.034, allocations: 4 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009424/1.035, allocations: 252 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0005341/1.035, allocations: 213.6 kB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009952/1.036, allocations: 496.3 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/1.036, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/1.037, allocations: 197.4 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/1.04, allocations: 0.6006 MB / 1.177 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/1.044, allocations: 2.341 MB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/1.045, allocations: 1.102 MB / 1.181 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/1.045, allocations: 75.44 kB / 1.181 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of SimCode: time 8.72e-07/1.045, allocations: 0 / 1.181 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.0272/1.072, allocations: 16.18 MB / 1.197 GB, free: 7.117 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches