Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001735/0.001735, allocations: 106.2 kB / 15.99 MB, free: 6.355 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.001654/0.001654, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 73.69 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3051, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7483/1.053, allocations: 184.9 MB / 1.198 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01743/1.071, allocations: 12.95 MB / 1.211 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/1.073, allocations: 30.19 kB / 1.211 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/1.074, allocations: 364.8 kB / 1.211 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/1.078, allocations: 1.075 MB / 1.212 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/1.08, allocations: 0.6498 MB / 1.213 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002971/1.083, allocations: 2.015 MB / 1.215 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.085, allocations: 0.8206 MB / 1.215 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/1.089, allocations: 1.759 MB / 1.217 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/1.091, allocations: 0.7004 MB / 1.218 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/1.091, allocations: 77.38 kB / 1.218 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/1.094, allocations: 0.911 MB / 1.219 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005647/1.094, allocations: 394 kB / 1.219 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000977/1.095, allocations: 0.498 MB / 1.22 GB, free: 9.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/1.097, allocations: 1.117 MB / 1.221 GB, free: 9.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.097, allocations: 3.984 kB / 1.221 GB, free: 9.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.744e-06/1.097, allocations: 0 / 1.221 GB, free: 9.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.217e-05/1.097, allocations: 2.094 kB / 1.221 GB, free: 9.227 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.00235/1.099, allocations: 1.236 MB / 1.222 GB, free: 8.254 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.1, allocations: 10.77 kB / 1.222 GB, free: 8.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/1.101, allocations: 218.9 kB / 1.222 GB, free: 8.137 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/1.102, allocations: 0.6442 MB / 1.223 GB, free: 7.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/1.102, allocations: 60.81 kB / 1.223 GB, free: 7.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.102, allocations: 80 kB / 1.223 GB, free: 7.316 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/1.104, allocations: 0.935 MB / 1.224 GB, free: 6.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.104, allocations: 7.938 kB / 1.224 GB, free: 6.297 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/1.104, allocations: 28 kB / 1.224 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/1.104, allocations: 33.25 kB / 1.224 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/1.105, allocations: 0.6177 MB / 1.225 GB, free: 5.617 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.004579/1.109, allocations: 4.597 MB / 1.229 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/1.11, allocations: 0.5401 MB / 1.23 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/1.111, allocations: 246.5 kB / 1.23 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/1.111, allocations: 97.09 kB / 1.23 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.111, allocations: 42.56 kB / 1.23 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/1.111, allocations: 0 / 1.23 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.003102/1.114, allocations: 1.593 MB / 1.231 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/1.114, allocations: 119 kB / 1.232 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/1.115, allocations: 0.7116 MB / 1.232 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/1.115, allocations: 37.7 kB / 1.232 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/1.115, allocations: 415.8 kB / 1.233 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.116, allocations: 165.6 kB / 1.233 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/1.116, allocations: 118.2 kB / 1.233 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.116, allocations: 334 kB / 1.233 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/1.116, allocations: 185.2 kB / 1.234 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/1.117, allocations: 421 kB / 1.234 GB, free: 11.46 MB / 0.9356 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.002214/1.119, allocations: 1.176 MB / 1.235 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.119, allocations: 0 / 1.235 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001034/1.12, allocations: 0.6682 MB / 1.236 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.12, allocations: 11.94 kB / 1.236 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.12, allocations: 12.06 kB / 1.236 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.12, allocations: 8 kB / 1.236 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/1.12, allocations: 131.8 kB / 1.236 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/1.12, allocations: 11.94 kB / 1.236 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/1.121, allocations: 59.8 kB / 1.236 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/1.121, allocations: 24 kB / 1.236 GB, free: 9.25 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 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.0004156/1.122, allocations: 274.5 kB / 1.236 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.122, allocations: 83 kB / 1.236 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/1.122, allocations: 87.67 kB / 1.236 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.122, allocations: 7.984 kB / 1.236 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.122, allocations: 0 / 1.236 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007093/1.123, allocations: 0.7027 MB / 1.237 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/1.125, allocations: 1.642 MB / 1.239 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/1.125, allocations: 4.5 kB / 1.239 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/1.126, allocations: 105.3 kB / 1.239 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.126, allocations: 7.938 kB / 1.239 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/1.126, allocations: 12 kB / 1.239 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.126, allocations: 8 kB / 1.239 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.126, allocations: 11.92 kB / 1.239 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.127, allocations: 0.8763 MB / 1.24 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/1.127, allocations: 196.2 kB / 1.24 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.127, allocations: 23.92 kB / 1.24 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/1.128, allocations: 35.89 kB / 1.24 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/1.128, allocations: 43.83 kB / 1.24 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.128, allocations: 16.19 kB / 1.24 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006428/1.129, allocations: 0.5146 MB / 1.24 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.129, allocations: 3.938 kB / 1.24 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008163/1.13, allocations: 200 kB / 1.241 GB, free: 4.129 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.0004886/1.13, allocations: 209.5 kB / 1.241 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008703/1.131, allocations: 0.515 MB / 1.241 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.131, allocations: 0 / 1.241 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/1.131, allocations: 211.2 kB / 1.242 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.133, allocations: 482.8 kB / 1.242 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/1.136, allocations: 1.997 MB / 1.244 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/1.137, allocations: 1.036 MB / 1.245 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/1.137, allocations: 63.44 kB / 1.245 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/1.137, allocations: 0 / 1.245 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.01954/1.157, allocations: 12.89 MB / 1.258 GB, free: 2.781 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches