Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 91.77 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.001008/0.001008, allocations: 176.6 kB / 16.92 MB, free: 6.652 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.289 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.486/2.486, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003701, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7408, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.206/0.9469, allocations: 182.6 MB / 1.134 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.9645, allocations: 12.94 MB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.966, allocations: 27.81 kB / 1.147 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.9675, allocations: 350 kB / 1.147 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.971, allocations: 1.097 MB / 1.148 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.973, allocations: 0.626 MB / 1.149 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.9765, allocations: 2.772 MB / 1.151 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.9779, allocations: 0.7023 MB / 1.152 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.9819, allocations: 1.619 MB / 1.154 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.9841, allocations: 0.6632 MB / 1.154 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.9843, allocations: 36 kB / 1.154 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.9865, allocations: 0.9702 MB / 1.155 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.9871, allocations: 335 kB / 1.156 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009897/0.9881, allocations: 471.3 kB / 1.156 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.9898, allocations: 1.087 MB / 1.157 GB, free: 372 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9899, allocations: 3.938 kB / 1.157 GB, free: 368 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9899, allocations: 0 / 1.157 GB, free: 368 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.932e-05/0.9899, allocations: 4 kB / 1.157 GB, free: 364 kB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002064/0.992, allocations: 1.046 MB / 1.158 GB, free: 15.26 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.992, allocations: 16.02 kB / 1.158 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.9934, allocations: 222.6 kB / 1.158 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.9945, allocations: 0.6403 MB / 1.159 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.9946, allocations: 58 kB / 1.159 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.9948, allocations: 75.91 kB / 1.159 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.9963, allocations: 0.9366 MB / 1.16 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.9963, allocations: 3.938 kB / 1.16 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.9964, allocations: 39.94 kB / 1.16 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.9965, allocations: 33.3 kB / 1.16 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.9976, allocations: 0.6177 MB / 1.161 GB, free: 12.5 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.005033/1.003, allocations: 4.586 MB / 1.165 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/1.004, allocations: 0.5507 MB / 1.166 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/1.004, allocations: 239.2 kB / 1.166 GB, free: 6.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/1.004, allocations: 101.1 kB / 1.166 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.004, allocations: 46.28 kB / 1.166 GB, free: 6.609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/1.004, allocations: 4 kB / 1.166 GB, free: 6.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.003177/1.007, allocations: 1.583 MB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.007, allocations: 110.8 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/1.008, allocations: 0.7118 MB / 1.168 GB, free: 4.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/1.009, allocations: 41.7 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/1.009, allocations: 415.8 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/1.009, allocations: 165.6 kB / 1.169 GB, free: 3.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/1.009, allocations: 57.69 kB / 1.169 GB, free: 3.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.009, allocations: 326 kB / 1.169 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/1.01, allocations: 189.2 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/1.01, allocations: 424.9 kB / 1.17 GB, free: 2.402 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/1.013, allocations: 1.176 MB / 1.171 GB, free: 1.121 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.013, allocations: 4 kB / 1.171 GB, free: 1.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001147/1.014, allocations: 0.6674 MB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.014, allocations: 8 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.014, allocations: 8 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.014, allocations: 8 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/1.014, allocations: 132.5 kB / 1.172 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/1.014, allocations: 15.94 kB / 1.172 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/1.015, allocations: 57.58 kB / 1.172 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/1.015, allocations: 27.98 kB / 1.172 GB, free: 196 kB / 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004849/1.016, allocations: 273.7 kB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.016, allocations: 87 kB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/1.016, allocations: 91.61 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.016, allocations: 4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.016, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007803/1.017, allocations: 0.7077 MB / 1.173 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/1.02, allocations: 1.645 MB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.02, allocations: 4 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/1.02, allocations: 99.83 kB / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.02, allocations: 8.5 kB / 1.175 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/1.02, allocations: 12 kB / 1.175 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/1.02, allocations: 15.92 kB / 1.175 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.02, allocations: 4.062 kB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/1.021, allocations: 0.8762 MB / 1.176 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/1.022, allocations: 204.1 kB / 1.176 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.022, allocations: 19.98 kB / 1.176 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/1.022, allocations: 32.39 kB / 1.176 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/1.022, allocations: 43.83 kB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/1.023, allocations: 16 kB / 1.176 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007033/1.023, allocations: 0.5146 MB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.023, allocations: 0 / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008108/1.024, allocations: 204 kB / 1.177 GB, free: 11.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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.0005185/1.025, allocations: 201.2 kB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009045/1.026, allocations: 472.2 kB / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.026, allocations: 0 / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/1.026, allocations: 210.2 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.028, allocations: 455.5 kB / 1.178 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/1.032, allocations: 2.094 MB / 1.18 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/1.032, allocations: 1.028 MB / 1.181 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.033, allocations: 71.42 kB / 1.181 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/1.033, allocations: 0 / 1.181 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of Templates: time 0.02203/1.055, allocations: 12.79 MB / 1.194 GB, free: 9.797 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches