Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.736/2.736, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.728e-05, allocations: 6.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8847/0.8847, allocations: 168.1 MB / 1.115 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.8962, allocations: 5.406 MB / 1.12 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.8985, allocations: 56.91 kB / 1.12 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.9007, allocations: 0.5466 MB / 1.121 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.9067, allocations: 1.714 MB / 1.123 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/0.9111, allocations: 1.264 MB / 1.124 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005038/0.9162, allocations: 2.589 MB / 1.126 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.9176, allocations: 0.7121 MB / 1.127 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.9212, allocations: 1.37 MB / 1.128 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.9234, allocations: 0.7827 MB / 1.129 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.9236, allocations: 102.9 kB / 1.129 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.9278, allocations: 1.284 MB / 1.131 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008124/0.9286, allocations: 0.5258 MB / 1.131 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008581/0.9294, allocations: 449.6 kB / 1.132 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005486/0.9349, allocations: 2.142 MB / 1.134 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9349, allocations: 1.062 kB / 1.134 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9349, allocations: 0.6562 kB / 1.134 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.935, allocations: 0 / 1.134 GB, free: 11.35 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002821/0.9378, allocations: 1.428 MB / 1.135 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9378, allocations: 10.53 kB / 1.135 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.94, allocations: 338 kB / 1.135 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.9414, allocations: 0.7461 MB / 1.136 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.9415, allocations: 60.25 kB / 1.136 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.9416, allocations: 86.8 kB / 1.136 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.9438, allocations: 1.483 MB / 1.138 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.9438, allocations: 1.438 kB / 1.138 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.9439, allocations: 38.97 kB / 1.138 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.944, allocations: 34.08 kB / 1.138 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.9457, allocations: 0.8236 MB / 1.139 GB, free: 9.617 MB / 0.9981 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.005884/0.9516, allocations: 3.066 MB / 1.142 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.9524, allocations: 356.7 kB / 1.142 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.9528, allocations: 202.9 kB / 1.142 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.953, allocations: 23.95 kB / 1.142 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.9531, allocations: 42.75 kB / 1.142 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 3.867e-06/0.9531, allocations: 3.984 kB / 1.142 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.003321/0.9564, allocations: 1.254 MB / 1.143 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.9564, allocations: 59.41 kB / 1.143 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.9577, allocations: 0.7248 MB / 1.144 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.9577, allocations: 38.27 kB / 1.144 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.9581, allocations: 0.5158 MB / 1.145 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.9583, allocations: 149.8 kB / 1.145 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.9585, allocations: 121.8 kB / 1.145 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9587, allocations: 381.8 kB / 1.145 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.9592, allocations: 237.4 kB / 1.146 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.9599, allocations: 473.4 kB / 1.146 GB, free: 6.695 MB / 0.9981 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.002567/0.9624, allocations: 1.142 MB / 1.147 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.9625, allocations: 3.344 kB / 1.147 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001437/0.9639, allocations: 0.7483 MB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.9639, allocations: 11.81 kB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.9639, allocations: 5.469 kB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.964, allocations: 9.188 kB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.9645, allocations: 141 kB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.9645, allocations: 13.52 kB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.9654, allocations: 55.94 kB / 1.148 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.9655, allocations: 26.97 kB / 1.148 GB, free: 6.402 MB / 0.9981 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.0004976/0.966, allocations: 317.6 kB / 1.148 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.9661, allocations: 79.69 kB / 1.148 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.9663, allocations: 80.47 kB / 1.149 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.9663, allocations: 7.859 kB / 1.149 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.9663, allocations: 0 / 1.149 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007066/0.967, allocations: 0.6792 MB / 1.149 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.9694, allocations: 1.343 MB / 1.15 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9694, allocations: 9 kB / 1.151 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.9698, allocations: 90.11 kB / 1.151 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.9699, allocations: 6.156 kB / 1.151 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.9699, allocations: 11.56 kB / 1.151 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.9699, allocations: 8.688 kB / 1.151 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.9699, allocations: 8.531 kB / 1.151 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.9711, allocations: 0.8032 MB / 1.151 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.9714, allocations: 137.9 kB / 1.152 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.9715, allocations: 19.39 kB / 1.152 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.9722, allocations: 40.62 kB / 1.152 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.9723, allocations: 35.55 kB / 1.152 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.9723, allocations: 25.95 kB / 1.152 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008323/0.9732, allocations: 0.5 MB / 1.152 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9732, allocations: 0 / 1.152 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001142/0.9743, allocations: 260.3 kB / 1.152 GB, free: 4.945 MB / 0.9981 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.0004516/0.9748, allocations: 200.9 kB / 1.153 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009944/0.9758, allocations: 492.7 kB / 1.153 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.9758, allocations: 6.75 kB / 1.153 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.9761, allocations: 182.7 kB / 1.153 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.9782, allocations: 446.1 kB / 1.154 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.9812, allocations: 1.722 MB / 1.155 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.9819, allocations: 0.5027 MB / 1.156 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008665/0.9827, allocations: 212.8 kB / 1.156 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.9829, allocations: 59.81 kB / 1.156 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/0.9829, allocations: 0 / 1.156 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.03019/1.013, allocations: 15.55 MB / 1.171 GB, free: 2.211 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.741704814136028]