Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3636, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 1.055/1.419, allocations: 191.3 MB / 1.403 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01173/1.431, allocations: 5.72 MB / 1.409 GB, free: 3.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/1.433, allocations: 41.94 kB / 1.409 GB, free: 3.305 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/1.434, allocations: 0.5981 MB / 1.409 GB, free: 2.816 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/1.44, allocations: 1.666 MB / 1.411 GB, free: 1.531 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/1.443, allocations: 1.231 MB / 1.412 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004542/1.448, allocations: 2.525 MB / 1.414 GB, free: 15.17 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/1.449, allocations: 0.717 MB / 1.415 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/1.451, allocations: 1.065 MB / 1.416 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.454, allocations: 0.8873 MB / 1.417 GB, free: 13.49 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/1.454, allocations: 100.3 kB / 1.417 GB, free: 13.49 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/1.458, allocations: 1.6 MB / 1.419 GB, free: 12.61 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006932/1.458, allocations: 0.4969 MB / 1.419 GB, free: 12.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/1.459, allocations: 0.6135 MB / 1.42 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003959/1.463, allocations: 2.122 MB / 1.422 GB, free: 10.53 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.463, allocations: 0 / 1.422 GB, free: 10.53 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.482e-06/1.463, allocations: 0 / 1.422 GB, free: 10.53 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.111e-05/1.463, allocations: 0 / 1.422 GB, free: 10.53 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.002712/1.466, allocations: 1.51 MB / 1.423 GB, free: 9.367 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.466, allocations: 10.25 kB / 1.423 GB, free: 9.367 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/1.468, allocations: 334.5 kB / 1.424 GB, free: 9.219 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.47, allocations: 0.824 MB / 1.425 GB, free: 8.582 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/1.47, allocations: 69.81 kB / 1.425 GB, free: 8.547 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.47, allocations: 83.84 kB / 1.425 GB, free: 8.52 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/1.472, allocations: 1.072 MB / 1.426 GB, free: 7.859 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/1.472, allocations: 3.938 kB / 1.426 GB, free: 7.855 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/1.472, allocations: 38.44 kB / 1.426 GB, free: 7.828 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/1.472, allocations: 35.77 kB / 1.426 GB, free: 7.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/1.474, allocations: 0.8306 MB / 1.427 GB, free: 7.422 MB / 1.092 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.006228/1.48, allocations: 4.273 MB / 1.431 GB, free: 3.602 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/1.481, allocations: 346.7 kB / 1.431 GB, free: 3.254 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/1.481, allocations: 207 kB / 1.431 GB, free: 3.051 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/1.481, allocations: 101.1 kB / 1.431 GB, free: 2.934 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.481, allocations: 38.56 kB / 1.431 GB, free: 2.887 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 3.006e-06/1.481, allocations: 0 / 1.431 GB, free: 2.887 MB / 1.092 GB Notification: Performance of matching and sorting (n=38): time 0.00289/1.484, allocations: 1.353 MB / 1.433 GB, free: 1.48 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/1.484, allocations: 59.16 kB / 1.433 GB, free: 1.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/1.486, allocations: 0.9967 MB / 1.434 GB, free: 400 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/1.486, allocations: 37.64 kB / 1.434 GB, free: 356 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/1.486, allocations: 0.5041 MB / 1.434 GB, free: 15.84 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.487, allocations: 146.8 kB / 1.434 GB, free: 15.7 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/1.487, allocations: 118.2 kB / 1.435 GB, free: 15.57 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.487, allocations: 334 kB / 1.435 GB, free: 15.24 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/1.487, allocations: 233.2 kB / 1.435 GB, free: 15.01 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/1.488, allocations: 423.8 kB / 1.436 GB, free: 14.52 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.002593/1.491, allocations: 1.22 MB / 1.437 GB, free: 13.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.491, allocations: 4 kB / 1.437 GB, free: 13.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001431/1.492, allocations: 0.7622 MB / 1.437 GB, free: 12.43 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.492, allocations: 13.59 kB / 1.437 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.492, allocations: 4 kB / 1.437 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.492, allocations: 15.94 kB / 1.437 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/1.493, allocations: 143.8 kB / 1.438 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.493, allocations: 13.5 kB / 1.438 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/1.494, allocations: 59.89 kB / 1.438 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/1.494, allocations: 27.98 kB / 1.438 GB, free: 12.16 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.0005057/1.494, allocations: 310.9 kB / 1.438 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.494, allocations: 103.3 kB / 1.438 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/1.495, allocations: 101 kB / 1.438 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.495, allocations: 11.94 kB / 1.438 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.495, allocations: 7.938 kB / 1.438 GB, free: 11.63 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007763/1.495, allocations: 0.6713 MB / 1.439 GB, free: 10.87 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/1.498, allocations: 1.589 MB / 1.44 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.498, allocations: 4 kB / 1.44 GB, free: 9.172 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/1.498, allocations: 79.91 kB / 1.441 GB, free: 9.094 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.498, allocations: 8 kB / 1.441 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/1.498, allocations: 19.92 kB / 1.441 GB, free: 9.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/1.498, allocations: 7.938 kB / 1.441 GB, free: 9.062 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.498, allocations: 11.88 kB / 1.441 GB, free: 9.051 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.499, allocations: 0.8323 MB / 1.441 GB, free: 8.156 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/1.5, allocations: 248.4 kB / 1.442 GB, free: 7.895 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.5, allocations: 19.94 kB / 1.442 GB, free: 7.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/1.501, allocations: 31.97 kB / 1.442 GB, free: 7.844 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/1.501, allocations: 39.78 kB / 1.442 GB, free: 7.805 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/1.501, allocations: 27.98 kB / 1.442 GB, free: 7.777 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00107/1.502, allocations: 0.7116 MB / 1.442 GB, free: 7.055 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.502, allocations: 0 / 1.442 GB, free: 7.055 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008564/1.503, allocations: 251.9 kB / 1.443 GB, free: 6.809 MB / 1.107 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.0005228/1.503, allocations: 202.4 kB / 1.443 GB, free: 6.605 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009616/1.504, allocations: 492.2 kB / 1.443 GB, free: 6.125 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.504, allocations: 4 kB / 1.443 GB, free: 6.121 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/1.505, allocations: 189.2 kB / 1.444 GB, free: 5.938 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.507, allocations: 0.6173 MB / 1.444 GB, free: 5.336 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/1.51, allocations: 1.88 MB / 1.446 GB, free: 3.375 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/1.511, allocations: 1.099 MB / 1.447 GB, free: 2.246 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007737/1.512, allocations: 248.3 kB / 1.447 GB, free: 2 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/1.512, allocations: 75.42 kB / 1.447 GB, free: 1.926 MB / 1.107 GB Notification: Performance of SimCode: time 8.61e-07/1.512, allocations: 0 / 1.447 GB, free: 1.926 MB / 1.107 GB Notification: Performance of Templates: time 0.04105/1.553, allocations: 20.19 MB / 1.467 GB, free: 14.04 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.285673977807164]