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.001077/0.001077, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001138/0.001138, allocations: 191 kB / 16.25 MB, free: 6.637 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.403/2.403, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 71.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7827, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2285/1.011, allocations: 184.8 MB / 1.13 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01579/1.027, allocations: 12.96 MB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/1.029, allocations: 27.81 kB / 1.142 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/1.03, allocations: 362 kB / 1.143 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003355/1.034, allocations: 1.082 MB / 1.144 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/1.035, allocations: 0.6413 MB / 1.144 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002587/1.038, allocations: 2.016 MB / 1.146 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/1.039, allocations: 0.8199 MB / 1.147 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/1.043, allocations: 1.775 MB / 1.149 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/1.045, allocations: 0.6989 MB / 1.15 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/1.045, allocations: 80 kB / 1.15 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/1.047, allocations: 0.904 MB / 1.15 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/1.047, allocations: 391 kB / 1.151 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005386/1.048, allocations: 0.5015 MB / 1.151 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/1.05, allocations: 1.527 MB / 1.153 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.05, allocations: 0 / 1.153 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.104e-06/1.05, allocations: 0 / 1.153 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.05, allocations: 0 / 1.153 GB, free: 0.75 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.001781/1.052, allocations: 1.231 MB / 1.154 GB, free: 15.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.052, allocations: 12.03 kB / 1.154 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.053, allocations: 218.6 kB / 1.154 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/1.054, allocations: 0.6441 MB / 1.155 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/1.054, allocations: 58 kB / 1.155 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.054, allocations: 72 kB / 1.155 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.055, allocations: 0.9443 MB / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/1.055, allocations: 0 / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/1.055, allocations: 43.92 kB / 1.156 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/1.055, allocations: 33.19 kB / 1.156 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/1.056, allocations: 0.6177 MB / 1.157 GB, free: 12.7 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.004255/1.061, allocations: 4.585 MB / 1.161 GB, free: 7.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/1.061, allocations: 0.5433 MB / 1.162 GB, free: 7.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/1.062, allocations: 242.4 kB / 1.162 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/1.062, allocations: 101.8 kB / 1.162 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.062, allocations: 42.56 kB / 1.162 GB, free: 6.824 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/1.062, allocations: 0 / 1.162 GB, free: 6.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002842/1.065, allocations: 1.586 MB / 1.164 GB, free: 5.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/1.065, allocations: 107.1 kB / 1.164 GB, free: 5.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/1.066, allocations: 0.7155 MB / 1.164 GB, free: 4.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/1.066, allocations: 37.7 kB / 1.164 GB, free: 4.277 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/1.066, allocations: 419.8 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.066, allocations: 157.7 kB / 1.165 GB, free: 3.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.066, allocations: 122.2 kB / 1.165 GB, free: 3.578 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.067, allocations: 326 kB / 1.165 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/1.067, allocations: 193.1 kB / 1.166 GB, free: 3.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/1.067, allocations: 421 kB / 1.166 GB, free: 2.559 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.002229/1.07, allocations: 1.178 MB / 1.167 GB, free: 1.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.07, allocations: 0 / 1.167 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009502/1.071, allocations: 0.6751 MB / 1.168 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.071, allocations: 12.72 kB / 1.168 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.071, allocations: 11.94 kB / 1.168 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.071, allocations: 16 kB / 1.168 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/1.071, allocations: 119.8 kB / 1.168 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.071, allocations: 19.92 kB / 1.168 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/1.072, allocations: 56.67 kB / 1.168 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/1.072, allocations: 28 kB / 1.168 GB, free: 344 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 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.000378/1.072, allocations: 277.5 kB / 1.168 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/1.072, allocations: 83.05 kB / 1.168 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/1.073, allocations: 95.61 kB / 1.168 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.073, allocations: 4 kB / 1.168 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.073, allocations: 0 / 1.168 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007862/1.073, allocations: 0.6921 MB / 1.169 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/1.076, allocations: 1.645 MB / 1.171 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/1.076, allocations: 4 kB / 1.171 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/1.076, allocations: 100.3 kB / 1.171 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/1.076, allocations: 11.94 kB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/1.076, allocations: 19.98 kB / 1.171 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.076, allocations: 8 kB / 1.171 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.076, allocations: 7.938 kB / 1.171 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.077, allocations: 0.8645 MB / 1.172 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/1.078, allocations: 208.1 kB / 1.172 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.078, allocations: 16 kB / 1.172 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/1.078, allocations: 41.84 kB / 1.172 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/1.079, allocations: 39.83 kB / 1.172 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.079, allocations: 16 kB / 1.172 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006527/1.079, allocations: 0.5146 MB / 1.173 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.11e-07/1.079, allocations: 4 kB / 1.173 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008459/1.08, allocations: 200 kB / 1.173 GB, free: 11.22 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.0005699/1.081, allocations: 193.6 kB / 1.173 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009541/1.082, allocations: 0.5228 MB / 1.173 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.082, allocations: 7.938 kB / 1.173 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/1.082, allocations: 205.7 kB / 1.174 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.084, allocations: 482.9 kB / 1.174 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/1.087, allocations: 1.947 MB / 1.176 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/1.088, allocations: 1.04 MB / 1.177 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008183/1.089, allocations: 191 kB / 1.177 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/1.089, allocations: 63.42 kB / 1.177 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of SimCode: time 7.22e-07/1.089, allocations: 0 / 1.177 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.02729/1.116, allocations: 14.98 MB / 1.192 GB, free: 7.77 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