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.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: 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.001036/0.001036, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008709/0.008709, allocations: 173.9 kB / 16.26 MB, free: 6.613 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 / 240.3 MB, free: 5.328 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.632/2.632, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.000392, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7912, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2207/1.012, allocations: 182.6 MB / 1.133 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01634/1.028, allocations: 12.94 MB / 1.146 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/1.03, allocations: 27.81 kB / 1.146 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/1.031, allocations: 342 kB / 1.146 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/1.034, allocations: 1.096 MB / 1.147 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/1.036, allocations: 0.6387 MB / 1.148 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003725/1.04, allocations: 2.772 MB / 1.151 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/1.041, allocations: 0.7063 MB / 1.151 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004392/1.046, allocations: 1.623 MB / 1.153 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/1.048, allocations: 0.6584 MB / 1.154 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/1.048, allocations: 39.94 kB / 1.154 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/1.05, allocations: 0.9625 MB / 1.155 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005456/1.051, allocations: 335 kB / 1.155 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008331/1.052, allocations: 471.3 kB / 1.155 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/1.054, allocations: 1.476 MB / 1.157 GB, free: 15.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.054, allocations: 7.984 kB / 1.157 GB, free: 15.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/1.054, allocations: 4 kB / 1.157 GB, free: 15.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.989e-05/1.054, allocations: 0 / 1.157 GB, free: 15.91 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001973/1.056, allocations: 1.04 MB / 1.158 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.056, allocations: 12.03 kB / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/1.057, allocations: 218.6 kB / 1.158 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.059, allocations: 0.6364 MB / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/1.059, allocations: 61.98 kB / 1.159 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.059, allocations: 95.81 kB / 1.159 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/1.06, allocations: 0.921 MB / 1.16 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/1.06, allocations: 7.938 kB / 1.16 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/1.06, allocations: 39.94 kB / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/1.06, allocations: 25.31 kB / 1.16 GB, free: 12.69 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/1.061, allocations: 0.6216 MB / 1.16 GB, free: 12.07 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.004437/1.066, allocations: 4.59 MB / 1.165 GB, free: 7.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/1.067, allocations: 0.5417 MB / 1.165 GB, free: 6.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/1.067, allocations: 243.2 kB / 1.166 GB, free: 6.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.067, allocations: 97.09 kB / 1.166 GB, free: 6.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.067, allocations: 58.27 kB / 1.166 GB, free: 6.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/1.067, allocations: 0 / 1.166 GB, free: 6.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002842/1.07, allocations: 1.579 MB / 1.167 GB, free: 4.535 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/1.07, allocations: 110.8 kB / 1.167 GB, free: 4.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008318/1.071, allocations: 0.7196 MB / 1.168 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/1.071, allocations: 33.7 kB / 1.168 GB, free: 3.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/1.071, allocations: 411.8 kB / 1.169 GB, free: 3.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.072, allocations: 161.7 kB / 1.169 GB, free: 3.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/1.072, allocations: 57.69 kB / 1.169 GB, free: 3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.072, allocations: 326 kB / 1.169 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.072, allocations: 189.2 kB / 1.169 GB, free: 2.492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/1.073, allocations: 424.9 kB / 1.17 GB, free: 1.98 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.002207/1.075, allocations: 1.178 MB / 1.171 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.075, allocations: 4 kB / 1.171 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009799/1.076, allocations: 0.6713 MB / 1.172 GB, free: 16 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.076, allocations: 11.94 kB / 1.172 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.076, allocations: 7.984 kB / 1.172 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.076, allocations: 12.78 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/1.076, allocations: 123.8 kB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.076, allocations: 19.86 kB / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/1.077, allocations: 59.88 kB / 1.172 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/1.077, allocations: 32 kB / 1.172 GB, free: 15.75 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 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.0003872/1.077, allocations: 269.6 kB / 1.172 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.078, allocations: 83 kB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/1.078, allocations: 91.66 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.078, allocations: 4 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.078, allocations: 4 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006952/1.079, allocations: 0.696 MB / 1.173 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/1.081, allocations: 1.642 MB / 1.175 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.081, allocations: 4 kB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/1.081, allocations: 99.83 kB / 1.175 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.081, allocations: 8.5 kB / 1.175 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/1.081, allocations: 23.98 kB / 1.175 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/1.081, allocations: 7.938 kB / 1.175 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.081, allocations: 8 kB / 1.175 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.082, allocations: 0.8606 MB / 1.175 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/1.083, allocations: 212.1 kB / 1.176 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/1.083, allocations: 12 kB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/1.083, allocations: 49.5 kB / 1.176 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/1.083, allocations: 35.84 kB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/1.083, allocations: 23.98 kB / 1.176 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007082/1.084, allocations: 0.5068 MB / 1.176 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/1.084, allocations: 0 / 1.176 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00076/1.085, allocations: 208 kB / 1.177 GB, free: 10.64 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.0004556/1.085, allocations: 203.9 kB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007589/1.086, allocations: 479.8 kB / 1.177 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.086, allocations: 4 kB / 1.177 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/1.087, allocations: 206.1 kB / 1.177 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.089, allocations: 463.7 kB / 1.178 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/1.092, allocations: 2.028 MB / 1.18 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/1.092, allocations: 1.024 MB / 1.181 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006776/1.093, allocations: 203 kB / 1.181 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.093, allocations: 63.44 kB / 1.181 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of SimCode: time 9.72e-07/1.093, allocations: 0 / 1.181 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.0252/1.118, allocations: 14.4 MB / 1.195 GB, free: 7.742 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches