Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005687/0.005687, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001192/0.001192, allocations: 196 kB / 16.67 MB, free: 5.969 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.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7347 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 71.89 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.325, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 1.033/1.358, allocations: 190.3 MB / 1.394 GB, free: 15.2 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01138/1.37, allocations: 5.696 MB / 1.399 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/1.372, allocations: 41.75 kB / 1.399 GB, free: 10.54 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/1.375, allocations: 0.5668 MB / 1.4 GB, free: 10.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/1.38, allocations: 1.604 MB / 1.401 GB, free: 8.82 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/1.384, allocations: 1.217 MB / 1.403 GB, free: 7.914 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004575/1.389, allocations: 2.509 MB / 1.405 GB, free: 6.477 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/1.391, allocations: 0.9949 MB / 1.406 GB, free: 5.891 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/1.393, allocations: 1.04 MB / 1.407 GB, free: 5.273 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.395, allocations: 0.8176 MB / 1.408 GB, free: 4.797 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/1.395, allocations: 101.9 kB / 1.408 GB, free: 4.797 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/1.399, allocations: 1.527 MB / 1.409 GB, free: 3.969 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005838/1.4, allocations: 498 kB / 1.41 GB, free: 3.645 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008534/1.401, allocations: 0.6195 MB / 1.41 GB, free: 3.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/1.404, allocations: 2.106 MB / 1.412 GB, free: 1.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.404, allocations: 0 / 1.412 GB, free: 1.91 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.974e-06/1.404, allocations: 0 / 1.412 GB, free: 1.91 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.404, allocations: 2.75 kB / 1.412 GB, free: 1.91 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002463/1.407, allocations: 1.482 MB / 1.414 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.407, allocations: 10.72 kB / 1.414 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/1.409, allocations: 326.1 kB / 1.414 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/1.411, allocations: 0.8088 MB / 1.415 GB, free: 16 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/1.411, allocations: 64.2 kB / 1.415 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/1.411, allocations: 86.81 kB / 1.415 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/1.413, allocations: 1.073 MB / 1.416 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/1.413, allocations: 6.656 kB / 1.416 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/1.413, allocations: 41.33 kB / 1.416 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/1.413, allocations: 32.62 kB / 1.416 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/1.415, allocations: 0.8324 MB / 1.417 GB, free: 14.85 MB / 1.107 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.006353/1.421, allocations: 4.254 MB / 1.421 GB, free: 11.26 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/1.422, allocations: 366.2 kB / 1.422 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/1.422, allocations: 214.5 kB / 1.422 GB, free: 10.96 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/1.423, allocations: 100.6 kB / 1.422 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.423, allocations: 39.47 kB / 1.422 GB, free: 10.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 3.928e-06/1.423, allocations: 0 / 1.422 GB, free: 10.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.002668/1.425, allocations: 1.338 MB / 1.423 GB, free: 9.559 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/1.425, allocations: 59.16 kB / 1.423 GB, free: 9.488 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.427, allocations: 0.9927 MB / 1.424 GB, free: 8.473 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/1.427, allocations: 37.7 kB / 1.424 GB, free: 8.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/1.427, allocations: 0.4914 MB / 1.425 GB, free: 7.934 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.427, allocations: 142 kB / 1.425 GB, free: 7.793 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/1.427, allocations: 122.2 kB / 1.425 GB, free: 7.668 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.428, allocations: 334 kB / 1.425 GB, free: 7.336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/1.428, allocations: 233.2 kB / 1.426 GB, free: 7.109 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/1.429, allocations: 423.8 kB / 1.426 GB, free: 6.617 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/1.431, allocations: 1.218 MB / 1.427 GB, free: 5.301 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.431, allocations: 0 / 1.427 GB, free: 5.301 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001357/1.432, allocations: 0.7673 MB / 1.428 GB, free: 4.527 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.432, allocations: 13.34 kB / 1.428 GB, free: 4.516 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.432, allocations: 4 kB / 1.428 GB, free: 4.512 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.433, allocations: 11.94 kB / 1.428 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/1.433, allocations: 144.7 kB / 1.428 GB, free: 4.359 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.433, allocations: 11.94 kB / 1.428 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/1.434, allocations: 63.94 kB / 1.428 GB, free: 4.285 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/1.434, allocations: 28 kB / 1.428 GB, free: 4.258 MB / 1.107 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0004735/1.435, allocations: 311.1 kB / 1.429 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/1.435, allocations: 98.88 kB / 1.429 GB, free: 3.848 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/1.435, allocations: 105 kB / 1.429 GB, free: 3.738 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.435, allocations: 9.062 kB / 1.429 GB, free: 3.73 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.435, allocations: 0 / 1.429 GB, free: 3.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008253/1.436, allocations: 0.6869 MB / 1.429 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/1.438, allocations: 1.573 MB / 1.431 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.438, allocations: 4 kB / 1.431 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/1.439, allocations: 91.83 kB / 1.431 GB, free: 1.184 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.439, allocations: 4 kB / 1.431 GB, free: 1.18 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/1.439, allocations: 12 kB / 1.431 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.439, allocations: 12 kB / 1.431 GB, free: 1.156 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.439, allocations: 7.938 kB / 1.431 GB, free: 1.148 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.44, allocations: 0.8356 MB / 1.432 GB, free: 256 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/1.44, allocations: 236 kB / 1.432 GB, free: 0 / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.44, allocations: 15.98 kB / 1.432 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/1.441, allocations: 39.92 kB / 1.432 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/1.441, allocations: 35.84 kB / 1.432 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/1.441, allocations: 23.98 kB / 1.432 GB, free: 15.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000996/1.442, allocations: 0.7155 MB / 1.433 GB, free: 15.16 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.01e-07/1.442, allocations: 0 / 1.433 GB, free: 15.16 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000843/1.443, allocations: 252 kB / 1.433 GB, free: 14.91 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004801/1.444, allocations: 204.1 kB / 1.433 GB, free: 14.71 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009381/1.444, allocations: 0.5073 MB / 1.434 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.444, allocations: 8.938 kB / 1.434 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/1.445, allocations: 188.2 kB / 1.434 GB, free: 14.01 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.447, allocations: 0.6119 MB / 1.435 GB, free: 13.41 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/1.45, allocations: 1.846 MB / 1.436 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/1.451, allocations: 1.095 MB / 1.437 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007937/1.452, allocations: 244.3 kB / 1.438 GB, free: 10.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/1.452, allocations: 75.42 kB / 1.438 GB, free: 10.04 MB / 1.123 GB Notification: Performance of SimCode: time 5.31e-07/1.452, allocations: 0 / 1.438 GB, free: 10.04 MB / 1.123 GB Notification: Performance of Templates: time 0.03312/1.485, allocations: 20.2 MB / 1.458 GB, free: 6.121 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches