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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001087/0.001087, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008795/0.008795, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.896/2.896, allocations: 462.7 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003955, allocations: 10.59 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4065, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2224/0.6289, allocations: 182.6 MB / 1.237 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.6466, allocations: 12.95 MB / 1.25 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.6484, allocations: 31.81 kB / 1.25 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.6502, allocations: 342 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7135/1.364, allocations: 1.082 MB / 1.251 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/1.366, allocations: 0.6275 MB / 1.252 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004249/1.37, allocations: 2.783 MB / 1.254 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/1.372, allocations: 0.7027 MB / 1.255 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/1.377, allocations: 1.623 MB / 1.257 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/1.379, allocations: 0.659 MB / 1.257 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/1.379, allocations: 35.98 kB / 1.257 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/1.382, allocations: 0.9692 MB / 1.258 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005876/1.383, allocations: 331.9 kB / 1.259 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007352/1.383, allocations: 475.7 kB / 1.259 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/1.386, allocations: 1.475 MB / 1.26 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.386, allocations: 0 / 1.26 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.386, allocations: 0 / 1.26 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.386, allocations: 0 / 1.26 GB, free: 3.473 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.001971/1.388, allocations: 1.053 MB / 1.262 GB, free: 18.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.388, allocations: 9.062 kB / 1.262 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.389, allocations: 221.3 kB / 1.262 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/1.39, allocations: 0.6439 MB / 1.262 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/1.39, allocations: 59.88 kB / 1.262 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/1.39, allocations: 80.39 kB / 1.262 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.392, allocations: 0.9266 MB / 1.263 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/1.392, allocations: 7.719 kB / 1.263 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/1.392, allocations: 33.33 kB / 1.263 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/1.392, allocations: 31.47 kB / 1.263 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009623/1.393, allocations: 0.6212 MB / 1.264 GB, free: 18.17 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.005013/1.398, allocations: 4.585 MB / 1.269 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/1.399, allocations: 0.5491 MB / 1.269 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/1.399, allocations: 246.8 kB / 1.269 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/1.399, allocations: 99.95 kB / 1.269 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.399, allocations: 46.59 kB / 1.269 GB, free: 14.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/1.399, allocations: 0 / 1.269 GB, free: 14.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003601/1.403, allocations: 1.585 MB / 1.271 GB, free: 14.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.403, allocations: 111.2 kB / 1.271 GB, free: 13.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.404, allocations: 0.715 MB / 1.272 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/1.405, allocations: 36.77 kB / 1.272 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/1.405, allocations: 421.4 kB / 1.272 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/1.405, allocations: 165 kB / 1.272 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.405, allocations: 54.16 kB / 1.272 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.405, allocations: 331.2 kB / 1.273 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/1.406, allocations: 184.4 kB / 1.273 GB, free: 13.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/1.406, allocations: 424.1 kB / 1.273 GB, free: 12.89 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.002884/1.409, allocations: 1.181 MB / 1.275 GB, free: 12.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.409, allocations: 2.312 kB / 1.275 GB, free: 12.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001796/1.411, allocations: 0.6622 MB / 1.275 GB, free: 12.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/1.411, allocations: 7.688 kB / 1.275 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/1.411, allocations: 6.375 kB / 1.275 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.433e-05/1.411, allocations: 9.844 kB / 1.275 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/1.412, allocations: 128.9 kB / 1.275 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.307e-05/1.412, allocations: 18.52 kB / 1.275 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/1.413, allocations: 66.94 kB / 1.275 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.413, allocations: 27.11 kB / 1.275 GB, free: 12.45 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007579/1.414, allocations: 279 kB / 1.276 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/1.414, allocations: 79.34 kB / 1.276 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/1.414, allocations: 91.12 kB / 1.276 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/1.414, allocations: 4.688 kB / 1.276 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/1.414, allocations: 5.609 kB / 1.276 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/1.416, allocations: 0.7012 MB / 1.277 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/1.419, allocations: 1.642 MB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.419, allocations: 6.203 kB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/1.42, allocations: 103.8 kB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/1.42, allocations: 5.375 kB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/1.42, allocations: 16.56 kB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/1.42, allocations: 10.66 kB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.42, allocations: 11.72 kB / 1.278 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/1.421, allocations: 0.8712 MB / 1.279 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/1.421, allocations: 205.1 kB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.422, allocations: 16.92 kB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/1.422, allocations: 38.3 kB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/1.422, allocations: 44.33 kB / 1.279 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/1.422, allocations: 22 kB / 1.279 GB, free: 10.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008169/1.423, allocations: 0.5103 MB / 1.28 GB, free: 10.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.423, allocations: 0 / 1.28 GB, free: 10.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009033/1.424, allocations: 197.7 kB / 1.28 GB, free: 10.64 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.0005333/1.425, allocations: 200.2 kB / 1.28 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009112/1.425, allocations: 477.6 kB / 1.281 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.425, allocations: 1.5 kB / 1.281 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/1.426, allocations: 208.9 kB / 1.281 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.428, allocations: 464.4 kB / 1.281 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/1.432, allocations: 2.027 MB / 1.283 GB, free: 9.379 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/1.433, allocations: 1.032 MB / 1.284 GB, free: 8.668 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009084/1.433, allocations: 198.8 kB / 1.285 GB, free: 8.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/1.434, allocations: 66.5 kB / 1.285 GB, free: 8.617 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.434, allocations: 0 / 1.285 GB, free: 8.617 MB / 1.014 GB Notification: Performance of Templates: time 0.03132/1.465, allocations: 14.4 MB / 1.299 GB, free: 7.754 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches