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.001126/0.001126, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001089/0.001089, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.665 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.05 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2839, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7153/0.9992, allocations: 184.8 MB / 1.13 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01627/1.016, allocations: 12.97 MB / 1.143 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/1.017, allocations: 34.16 kB / 1.143 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.019, allocations: 363.1 kB / 1.143 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/1.022, allocations: 1.086 MB / 1.144 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/1.024, allocations: 0.6341 MB / 1.145 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003227/1.028, allocations: 2.015 MB / 1.147 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/1.029, allocations: 0.8114 MB / 1.148 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/1.034, allocations: 1.778 MB / 1.149 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/1.036, allocations: 0.7048 MB / 1.15 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/1.036, allocations: 79.75 kB / 1.15 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/1.039, allocations: 0.9131 MB / 1.151 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004687/1.039, allocations: 383.6 kB / 1.152 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007474/1.04, allocations: 0.4962 MB / 1.152 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/1.042, allocations: 1.12 MB / 1.153 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.042, allocations: 0 / 1.153 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/1.042, allocations: 1.344 kB / 1.153 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.042, allocations: 4 kB / 1.153 GB, free: 3.129 MB / 0.8575 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.002004/1.044, allocations: 1.226 MB / 1.154 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.044, allocations: 9.281 kB / 1.154 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/1.045, allocations: 223.1 kB / 1.155 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/1.046, allocations: 0.6476 MB / 1.155 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/1.046, allocations: 58.03 kB / 1.155 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.046, allocations: 75.31 kB / 1.155 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.048, allocations: 0.9285 MB / 1.156 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.048, allocations: 6.5 kB / 1.156 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/1.048, allocations: 32.62 kB / 1.156 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/1.048, allocations: 39.33 kB / 1.156 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/1.049, allocations: 0.6177 MB / 1.157 GB, free: 16.98 MB / 0.8731 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.00466/1.054, allocations: 4.586 MB / 1.161 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/1.054, allocations: 0.5446 MB / 1.162 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/1.055, allocations: 247.7 kB / 1.162 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/1.055, allocations: 97.02 kB / 1.162 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.055, allocations: 45.72 kB / 1.162 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/1.055, allocations: 0 / 1.162 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.003162/1.058, allocations: 1.586 MB / 1.164 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/1.058, allocations: 107.2 kB / 1.164 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/1.059, allocations: 0.7168 MB / 1.165 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/1.059, allocations: 36.33 kB / 1.165 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/1.06, allocations: 415.9 kB / 1.165 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/1.06, allocations: 165.2 kB / 1.165 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/1.06, allocations: 113.6 kB / 1.165 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.06, allocations: 332.3 kB / 1.166 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/1.06, allocations: 184.1 kB / 1.166 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/1.061, allocations: 421.8 kB / 1.166 GB, free: 10.03 MB / 0.8731 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.002328/1.063, allocations: 1.179 MB / 1.167 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.063, allocations: 2.406 kB / 1.167 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001085/1.064, allocations: 0.669 MB / 1.168 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.064, allocations: 15.88 kB / 1.168 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.064, allocations: 6.156 kB / 1.168 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.064, allocations: 11.91 kB / 1.168 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.065, allocations: 126.3 kB / 1.168 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/1.065, allocations: 15.7 kB / 1.168 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/1.066, allocations: 57.48 kB / 1.168 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/1.066, allocations: 33.98 kB / 1.168 GB, free: 9.012 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0004283/1.066, allocations: 275.6 kB / 1.169 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/1.066, allocations: 85.22 kB / 1.169 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/1.067, allocations: 88.89 kB / 1.169 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.067, allocations: 5.062 kB / 1.169 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.067, allocations: 4.531 kB / 1.169 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006838/1.067, allocations: 0.7006 MB / 1.169 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/1.07, allocations: 1.644 MB / 1.171 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.07, allocations: 5.438 kB / 1.171 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/1.07, allocations: 96.67 kB / 1.171 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/1.07, allocations: 9.625 kB / 1.171 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/1.07, allocations: 22.17 kB / 1.171 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.07, allocations: 9.281 kB / 1.171 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.07, allocations: 9.312 kB / 1.171 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.071, allocations: 0.8628 MB / 1.172 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/1.072, allocations: 204.6 kB / 1.172 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.072, allocations: 20.97 kB / 1.172 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/1.072, allocations: 36.2 kB / 1.172 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/1.072, allocations: 44.73 kB / 1.172 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/1.072, allocations: 18.62 kB / 1.172 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006027/1.073, allocations: 0.5076 MB / 1.173 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.073, allocations: 0 / 1.173 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008246/1.074, allocations: 203.7 kB / 1.173 GB, free: 6.176 MB / 0.8731 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.0004768/1.074, allocations: 212.2 kB / 1.173 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008513/1.075, allocations: 0.5187 MB / 1.174 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.075, allocations: 0 / 1.174 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/1.076, allocations: 206.5 kB / 1.174 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.078, allocations: 479 kB / 1.174 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/1.08, allocations: 2.012 MB / 1.176 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/1.081, allocations: 1.034 MB / 1.177 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/1.081, allocations: 64.62 kB / 1.177 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.081, allocations: 0 / 1.177 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of Templates: time 0.02048/1.102, allocations: 12.9 MB / 1.19 GB, free: 14.45 MB / 0.8887 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