Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001332/0.001332, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001648/0.001648, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.995/2.995, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.02 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2257/0.5697, allocations: 194.3 MB / 1.516 GB, free: 14.37 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.5798, allocations: 5.751 MB / 1.522 GB, free: 8.602 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.5811, allocations: 55.5 kB / 1.522 GB, free: 8.547 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.5826, allocations: 0.5981 MB / 1.522 GB, free: 7.945 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.5866, allocations: 1.698 MB / 1.524 GB, free: 6.242 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.5899, allocations: 1.244 MB / 1.525 GB, free: 5.004 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003566/0.5934, allocations: 2.578 MB / 1.528 GB, free: 2.414 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.5946, allocations: 0.72 MB / 1.528 GB, free: 1.676 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.5972, allocations: 1.246 MB / 1.53 GB, free: 436 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.5989, allocations: 0.8734 MB / 1.531 GB, free: 15.56 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.599, allocations: 104 kB / 1.531 GB, free: 15.46 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.602, allocations: 1.606 MB / 1.532 GB, free: 13.85 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005666/0.6026, allocations: 0.4908 MB / 1.533 GB, free: 13.36 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009476/0.6035, allocations: 0.63 MB / 1.533 GB, free: 12.72 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.6071, allocations: 2.118 MB / 1.535 GB, free: 10.6 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6071, allocations: 0 / 1.535 GB, free: 10.6 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6071, allocations: 0 / 1.535 GB, free: 10.6 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.818e-05/0.6071, allocations: 0 / 1.535 GB, free: 10.6 MB / 1.232 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.002871/0.61, allocations: 1.442 MB / 1.537 GB, free: 9.117 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.61, allocations: 12.03 kB / 1.537 GB, free: 9.105 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.6119, allocations: 330.9 kB / 1.537 GB, free: 8.781 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.6134, allocations: 0.744 MB / 1.538 GB, free: 8.008 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.6135, allocations: 62 kB / 1.538 GB, free: 7.945 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6136, allocations: 84 kB / 1.538 GB, free: 7.863 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.6155, allocations: 1.078 MB / 1.539 GB, free: 6.746 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.6155, allocations: 3.938 kB / 1.539 GB, free: 6.742 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.6156, allocations: 43.98 kB / 1.539 GB, free: 6.699 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.6157, allocations: 30 kB / 1.539 GB, free: 6.668 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.6172, allocations: 0.8314 MB / 1.54 GB, free: 5.836 MB / 1.232 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.006336/0.6236, allocations: 4.363 MB / 1.544 GB, free: 1.164 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.6242, allocations: 362.5 kB / 1.545 GB, free: 0.8008 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.6245, allocations: 206.6 kB / 1.545 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.6247, allocations: 19.98 kB / 1.545 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.6247, allocations: 38.56 kB / 1.545 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 3.326e-06/0.6247, allocations: 0 / 1.545 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002867/0.6276, allocations: 1.289 MB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.6276, allocations: 55.41 kB / 1.546 GB, free: 15.14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.629, allocations: 0.9966 MB / 1.547 GB, free: 14.12 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6291, allocations: 41.7 kB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.6295, allocations: 0.4963 MB / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.6297, allocations: 146.8 kB / 1.548 GB, free: 13.43 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.6299, allocations: 126.2 kB / 1.548 GB, free: 13.3 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.6301, allocations: 322 kB / 1.548 GB, free: 12.98 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.6306, allocations: 241.2 kB / 1.548 GB, free: 12.75 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.6313, allocations: 419.8 kB / 1.549 GB, free: 12.26 MB / 1.248 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.002605/0.6339, allocations: 1.15 MB / 1.55 GB, free: 11.03 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6339, allocations: 3.984 kB / 1.55 GB, free: 11.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001473/0.6354, allocations: 0.7661 MB / 1.551 GB, free: 10.25 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6354, allocations: 4 kB / 1.551 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6354, allocations: 8 kB / 1.551 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.6354, allocations: 11.94 kB / 1.551 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.636, allocations: 143.8 kB / 1.551 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.852e-05/0.636, allocations: 19.92 kB / 1.551 GB, free: 10.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.6369, allocations: 56.17 kB / 1.551 GB, free: 10.01 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.6369, allocations: 24 kB / 1.551 GB, free: 9.988 MB / 1.248 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.0004638/0.6374, allocations: 317.5 kB / 1.551 GB, free: 9.668 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6376, allocations: 107.3 kB / 1.551 GB, free: 9.562 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.6377, allocations: 105 kB / 1.551 GB, free: 9.461 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6378, allocations: 4 kB / 1.551 GB, free: 9.457 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6378, allocations: 3.984 kB / 1.551 GB, free: 9.453 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007205/0.6385, allocations: 0.6713 MB / 1.552 GB, free: 8.695 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.641, allocations: 1.554 MB / 1.554 GB, free: 7.043 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.641, allocations: 4 kB / 1.554 GB, free: 7.039 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.6413, allocations: 91.77 kB / 1.554 GB, free: 6.949 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.6414, allocations: 4 kB / 1.554 GB, free: 6.945 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.6414, allocations: 16 kB / 1.554 GB, free: 6.93 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.6414, allocations: 11.92 kB / 1.554 GB, free: 6.918 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.6414, allocations: 12 kB / 1.554 GB, free: 6.906 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6425, allocations: 0.8341 MB / 1.555 GB, free: 6.008 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.6429, allocations: 167.3 kB / 1.555 GB, free: 5.844 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.643, allocations: 15.94 kB / 1.555 GB, free: 5.828 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.6436, allocations: 37.84 kB / 1.555 GB, free: 5.793 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.6437, allocations: 35.83 kB / 1.555 GB, free: 5.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.6437, allocations: 31.98 kB / 1.555 GB, free: 5.727 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001012/0.6447, allocations: 0.7038 MB / 1.556 GB, free: 5.012 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6447, allocations: 0 / 1.556 GB, free: 5.012 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007886/0.6455, allocations: 255.9 kB / 1.556 GB, free: 4.762 MB / 1.248 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.0003524/0.6459, allocations: 196.2 kB / 1.556 GB, free: 4.559 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008982/0.6468, allocations: 499.6 kB / 1.556 GB, free: 4.07 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6468, allocations: 0 / 1.556 GB, free: 4.07 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.647, allocations: 185.3 kB / 1.557 GB, free: 3.891 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.6495, allocations: 0.6135 MB / 1.557 GB, free: 3.289 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6523, allocations: 1.876 MB / 1.559 GB, free: 1.332 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.653, allocations: 1.095 MB / 1.56 GB, free: 212 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006996/0.6537, allocations: 260.4 kB / 1.56 GB, free: 15.95 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.6539, allocations: 71.44 kB / 1.56 GB, free: 15.88 MB / 1.264 GB Notification: Performance of SimCode: time 7.31e-07/0.6539, allocations: 0 / 1.56 GB, free: 15.88 MB / 1.264 GB Notification: Performance of Templates: time 0.03453/0.6884, allocations: 20.48 MB / 1.58 GB, free: 11.68 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.195381175726652]