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.00101/0.00101, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00124/0.00124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.438 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.401/2.401, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 16 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.7994, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2094/1.009, allocations: 170.4 MB / 1.121 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01534/1.024, allocations: 12.12 MB / 1.133 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/1.025, allocations: 27.81 kB / 1.133 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/1.027, allocations: 298.1 kB / 1.133 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/1.029, allocations: 0.8863 MB / 1.134 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/1.031, allocations: 0.5337 MB / 1.134 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002716/1.034, allocations: 2.343 MB / 1.137 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/1.035, allocations: 0.6021 MB / 1.137 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/1.038, allocations: 1.358 MB / 1.139 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/1.039, allocations: 0.6264 MB / 1.139 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/1.039, allocations: 32 kB / 1.139 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/1.04, allocations: 447 kB / 1.14 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/1.041, allocations: 335 kB / 1.14 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/1.041, allocations: 205.3 kB / 1.14 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/1.042, allocations: 1.04 MB / 1.141 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.042, allocations: 0 / 1.141 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.264e-06/1.042, allocations: 0 / 1.141 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.042, allocations: 4 kB / 1.141 GB, free: 15.76 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001586/1.044, allocations: 1.048 MB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.044, allocations: 12.03 kB / 1.142 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/1.045, allocations: 218.6 kB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/1.046, allocations: 0.6173 MB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/1.046, allocations: 58 kB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.046, allocations: 76 kB / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/1.047, allocations: 0.9365 MB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.047, allocations: 4 kB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/1.047, allocations: 28 kB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/1.047, allocations: 37.25 kB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009626/1.048, allocations: 0.6099 MB / 1.145 GB, free: 11.94 MB / 0.9044 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.004139/1.052, allocations: 4.595 MB / 1.149 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/1.053, allocations: 0.5457 MB / 1.15 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/1.054, allocations: 247 kB / 1.15 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/1.054, allocations: 101.1 kB / 1.15 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.054, allocations: 42.33 kB / 1.15 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/1.054, allocations: 4 kB / 1.15 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002654/1.057, allocations: 1.571 MB / 1.152 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.057, allocations: 114.8 kB / 1.152 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/1.057, allocations: 0.7115 MB / 1.152 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/1.057, allocations: 41.95 kB / 1.152 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/1.058, allocations: 419.7 kB / 1.153 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/1.058, allocations: 153.8 kB / 1.153 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/1.058, allocations: 16 kB / 1.153 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.058, allocations: 330 kB / 1.153 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/1.058, allocations: 185.2 kB / 1.154 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/1.059, allocations: 417 kB / 1.154 GB, free: 1.91 MB / 0.9044 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.001525/1.06, allocations: 0.6688 MB / 1.155 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.06, allocations: 8 kB / 1.155 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009581/1.061, allocations: 0.6682 MB / 1.155 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.061, allocations: 6.188 kB / 1.155 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.061, allocations: 11.98 kB / 1.155 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.061, allocations: 12 kB / 1.155 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/1.062, allocations: 123.8 kB / 1.155 GB, free: 400 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.062, allocations: 12 kB / 1.155 GB, free: 388 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/1.062, allocations: 56.62 kB / 1.155 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/1.062, allocations: 31.95 kB / 1.155 GB, free: 300 kB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003548/1.063, allocations: 273.6 kB / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/1.063, allocations: 87 kB / 1.156 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/1.063, allocations: 91.61 kB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.063, allocations: 12 kB / 1.156 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.063, allocations: 0 / 1.156 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000691/1.064, allocations: 0.6882 MB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/1.066, allocations: 1.642 MB / 1.158 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.066, allocations: 7.938 kB / 1.158 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/1.067, allocations: 103.8 kB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.067, allocations: 4 kB / 1.158 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/1.067, allocations: 16 kB / 1.158 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/1.067, allocations: 11.98 kB / 1.158 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.067, allocations: 7.938 kB / 1.158 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.068, allocations: 0.8573 MB / 1.159 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/1.068, allocations: 208.1 kB / 1.159 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.068, allocations: 12 kB / 1.159 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/1.069, allocations: 44.41 kB / 1.159 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/1.069, allocations: 39.86 kB / 1.159 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.069, allocations: 23.98 kB / 1.159 GB, free: 11.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006382/1.07, allocations: 0.5029 MB / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/1.07, allocations: 0 / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007761/1.07, allocations: 204 kB / 1.16 GB, free: 11.2 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004871/1.071, allocations: 200.4 kB / 1.16 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008134/1.072, allocations: 464.8 kB / 1.161 GB, free: 10.56 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.072, allocations: 0 / 1.161 GB, free: 10.56 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/1.072, allocations: 213 kB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/1.074, allocations: 461.8 kB / 1.161 GB, free: 9.914 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/1.077, allocations: 2.01 MB / 1.163 GB, free: 7.824 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/1.078, allocations: 1.032 MB / 1.164 GB, free: 6.766 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008262/1.079, allocations: 203 kB / 1.165 GB, free: 6.562 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/1.079, allocations: 63.42 kB / 1.165 GB, free: 6.504 MB / 0.92 GB Notification: Performance of SimCode: time 6.82e-07/1.079, allocations: 0 / 1.165 GB, free: 6.504 MB / 0.92 GB Notification: Performance of Templates: time 0.02495/1.104, allocations: 13.94 MB / 1.178 GB, free: 8.793 MB / 0.9356 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