Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007653/0.007653, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001681/0.001681, allocations: 190.6 kB / 16.79 MB, free: 5.805 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 63.03 kB / 0.899 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2123/0.5406, allocations: 185.1 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.5577, allocations: 13.1 MB / 1.246 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.5593, allocations: 27.81 kB / 1.246 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.561, allocations: 358 kB / 1.247 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6584/1.22, allocations: 1.088 MB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/1.222, allocations: 0.6323 MB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003624/1.225, allocations: 2.772 MB / 1.251 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/1.226, allocations: 0.7257 MB / 1.252 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/1.23, allocations: 1.651 MB / 1.253 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/1.232, allocations: 0.691 MB / 1.254 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/1.233, allocations: 46.78 kB / 1.254 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/1.235, allocations: 0.9791 MB / 1.255 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000544/1.235, allocations: 358 kB / 1.255 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000763/1.236, allocations: 470.9 kB / 1.256 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.238, allocations: 1.109 MB / 1.257 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.238, allocations: 0 / 1.257 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.238, allocations: 4 kB / 1.257 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.909e-05/1.238, allocations: 0 / 1.257 GB, free: 2.969 MB / 0.9981 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.002223/1.24, allocations: 1.231 MB / 1.258 GB, free: 18.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.24, allocations: 11.84 kB / 1.258 GB, free: 18.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.241, allocations: 215.1 kB / 1.258 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.242, allocations: 0.6431 MB / 1.259 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/1.243, allocations: 58.91 kB / 1.259 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.243, allocations: 77.92 kB / 1.259 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.244, allocations: 0.9339 MB / 1.26 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/1.244, allocations: 7.219 kB / 1.26 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/1.244, allocations: 39.48 kB / 1.26 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/1.244, allocations: 28.47 kB / 1.26 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/1.245, allocations: 0.6174 MB / 1.261 GB, free: 17.65 MB / 1.014 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.004793/1.25, allocations: 4.591 MB / 1.265 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/1.251, allocations: 0.539 MB / 1.266 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/1.251, allocations: 248.5 kB / 1.266 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/1.252, allocations: 114 kB / 1.266 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.252, allocations: 38.61 kB / 1.266 GB, free: 14.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.534e-06/1.252, allocations: 0 / 1.266 GB, free: 14.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003376/1.255, allocations: 1.584 MB / 1.268 GB, free: 13.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.255, allocations: 109.1 kB / 1.268 GB, free: 13.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.256, allocations: 0.7182 MB / 1.268 GB, free: 13.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/1.256, allocations: 37.23 kB / 1.268 GB, free: 13.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/1.256, allocations: 424.7 kB / 1.269 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.257, allocations: 157 kB / 1.269 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/1.257, allocations: 119.8 kB / 1.269 GB, free: 12.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.257, allocations: 333 kB / 1.269 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/1.257, allocations: 184.3 kB / 1.27 GB, free: 12.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/1.258, allocations: 428.8 kB / 1.27 GB, free: 12.36 MB / 1.014 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.002499/1.26, allocations: 1.176 MB / 1.271 GB, free: 12.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/1.26, allocations: 3.266 kB / 1.271 GB, free: 12.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001435/1.262, allocations: 0.6632 MB / 1.272 GB, free: 11.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/1.262, allocations: 13.28 kB / 1.272 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.262, allocations: 6.25 kB / 1.272 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/1.262, allocations: 9.719 kB / 1.272 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/1.262, allocations: 127.8 kB / 1.272 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.14e-05/1.262, allocations: 17 kB / 1.272 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/1.263, allocations: 60.55 kB / 1.272 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/1.263, allocations: 26.56 kB / 1.272 GB, free: 11.91 MB / 1.014 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.0005754/1.264, allocations: 274.6 kB / 1.272 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.264, allocations: 84.3 kB / 1.272 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/1.264, allocations: 88.56 kB / 1.272 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.264, allocations: 6.281 kB / 1.272 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.264, allocations: 1.062 kB / 1.272 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009859/1.265, allocations: 0.706 MB / 1.273 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/1.268, allocations: 1.642 MB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.268, allocations: 2.656 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/1.269, allocations: 100.1 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.269, allocations: 6.438 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/1.269, allocations: 17.06 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/1.269, allocations: 10.22 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.269, allocations: 10.23 kB / 1.275 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/1.27, allocations: 0.8672 MB / 1.276 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/1.271, allocations: 200.6 kB / 1.276 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.271, allocations: 19.14 kB / 1.276 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/1.271, allocations: 35.36 kB / 1.276 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/1.271, allocations: 41.27 kB / 1.276 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.271, allocations: 21.94 kB / 1.276 GB, free: 10.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007466/1.272, allocations: 0.5086 MB / 1.277 GB, free: 10.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.91e-07/1.272, allocations: 0 / 1.277 GB, free: 10.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009081/1.273, allocations: 205.8 kB / 1.277 GB, free: 10.12 MB / 1.014 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.0005301/1.274, allocations: 199.9 kB / 1.277 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009207/1.274, allocations: 479.7 kB / 1.277 GB, free: 10 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.274, allocations: 5.156 kB / 1.277 GB, free: 10 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/1.275, allocations: 211.7 kB / 1.278 GB, free: 9.996 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.277, allocations: 461.8 kB / 1.278 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/1.28, allocations: 2.013 MB / 1.28 GB, free: 8.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/1.281, allocations: 1.03 MB / 1.281 GB, free: 8.121 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/1.281, allocations: 65.5 kB / 1.281 GB, free: 8.113 MB / 1.014 GB Notification: Performance of SimCode: time 9.61e-07/1.281, allocations: 1.125 kB / 1.281 GB, free: 8.113 MB / 1.014 GB Notification: Performance of Templates: time 0.028/1.309, allocations: 12.91 MB / 1.294 GB, free: 7.035 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches