Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.00202/0.00202, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002314/0.002314, allocations: 219.1 kB / 22.25 MB, free: 4.852 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 8.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.487/3.487, allocations: 0.5107 GB / 0.8158 GB, free: 17.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.002089/0.002089, allocations: 63.33 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4264, allocations: 181.9 MB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2748/0.7012, allocations: 165.5 MB / 1.525 GB, free: 7.574 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.7228, allocations: 11.97 MB / 1.537 GB, free: 11.57 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.7243, allocations: 39.69 kB / 1.537 GB, free: 11.53 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.7265, allocations: 413.3 kB / 1.538 GB, free: 11.12 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.7301, allocations: 0.9526 MB / 1.539 GB, free: 10.17 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.7327, allocations: 0.7335 MB / 1.539 GB, free: 9.438 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.7357, allocations: 1.504 MB / 1.541 GB, free: 7.93 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.737, allocations: 0.4913 MB / 1.541 GB, free: 7.418 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.7426, allocations: 1.872 MB / 1.543 GB, free: 5.539 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.7444, allocations: 0.504 MB / 1.544 GB, free: 5.039 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.7446, allocations: 56 kB / 1.544 GB, free: 4.984 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.7464, allocations: 0.7132 MB / 1.544 GB, free: 4.27 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.7469, allocations: 287.1 kB / 1.545 GB, free: 3.988 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0006938/0.7476, allocations: 310.5 kB / 1.545 GB, free: 3.684 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.75, allocations: 1.167 MB / 1.546 GB, free: 2.512 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.75, allocations: 0 / 1.546 GB, free: 2.512 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.493e-06/0.75, allocations: 0 / 1.546 GB, free: 2.512 MB / 1.233 GB Notification: Performance of Transformations before backend: time 3.618e-05/0.75, allocations: 4 kB / 1.546 GB, free: 2.508 MB / 1.233 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002029/0.7521, allocations: 0.9944 MB / 1.547 GB, free: 1.477 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7521, allocations: 8.031 kB / 1.547 GB, free: 1.469 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.7532, allocations: 203.2 kB / 1.547 GB, free: 1.27 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.7544, allocations: 0.4919 MB / 1.548 GB, free: 0.7578 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.7544, allocations: 45.31 kB / 1.548 GB, free: 0.7109 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/0.7545, allocations: 56 kB / 1.548 GB, free: 0.6562 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.756, allocations: 0.7923 MB / 1.549 GB, free: 15.75 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.756, allocations: 7.938 kB / 1.549 GB, free: 15.74 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.7561, allocations: 27.94 kB / 1.549 GB, free: 15.71 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.7561, allocations: 24.98 kB / 1.549 GB, free: 15.69 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7571, allocations: 463.2 kB / 1.549 GB, free: 15.24 MB / 1.248 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.004644/0.7618, allocations: 3.859 MB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.7619, allocations: 98.36 kB / 1.553 GB, free: 11.08 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.762, allocations: 75.59 kB / 1.553 GB, free: 11 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.7622, allocations: 15.98 kB / 1.553 GB, free: 10.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.7622, allocations: 38.5 kB / 1.553 GB, free: 10.93 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.7622, allocations: 0 / 1.553 GB, free: 10.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.0006226/0.7629, allocations: 213.5 kB / 1.553 GB, free: 10.72 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.763, allocations: 132.5 kB / 1.553 GB, free: 10.56 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/0.7639, allocations: 0.585 MB / 1.554 GB, free: 9.965 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.7639, allocations: 29.7 kB / 1.554 GB, free: 9.93 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.7643, allocations: 439.8 kB / 1.554 GB, free: 9.492 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.7643, allocations: 43.69 kB / 1.554 GB, free: 9.449 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.7645, allocations: 89.97 kB / 1.554 GB, free: 9.355 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.7647, allocations: 362.7 kB / 1.555 GB, free: 8.992 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.765, allocations: 112.7 kB / 1.555 GB, free: 8.883 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.7656, allocations: 0.5038 MB / 1.555 GB, free: 8.227 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.7663, allocations: 449.5 kB / 1.556 GB, free: 7.68 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.7663, allocations: 4 kB / 1.556 GB, free: 7.676 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009994/0.7673, allocations: 473.5 kB / 1.556 GB, free: 7.207 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7674, allocations: 16.03 kB / 1.556 GB, free: 7.191 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.7674, allocations: 8 kB / 1.556 GB, free: 7.184 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.7674, allocations: 15.88 kB / 1.556 GB, free: 7.168 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.7677, allocations: 95.81 kB / 1.556 GB, free: 7.074 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.7678, allocations: 15.94 kB / 1.556 GB, free: 7.059 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.7683, allocations: 87.58 kB / 1.557 GB, free: 6.973 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.7684, allocations: 27.98 kB / 1.557 GB, free: 6.945 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0003078/0.7687, allocations: 230.6 kB / 1.557 GB, free: 6.711 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.7688, allocations: 51.67 kB / 1.557 GB, free: 6.66 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.493e-05/0.7689, allocations: 56.12 kB / 1.557 GB, free: 6.605 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7689, allocations: 4.125 kB / 1.557 GB, free: 6.602 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7689, allocations: 8 kB / 1.557 GB, free: 6.594 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7689, allocations: 3.984 kB / 1.557 GB, free: 6.59 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.7704, allocations: 0.9952 MB / 1.558 GB, free: 5.523 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7704, allocations: 0 / 1.558 GB, free: 5.523 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.7705, allocations: 23.92 kB / 1.558 GB, free: 5.5 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.7705, allocations: 4.312 kB / 1.558 GB, free: 5.496 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7705, allocations: 4 kB / 1.558 GB, free: 5.492 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7705, allocations: 4 kB / 1.558 GB, free: 5.488 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.7705, allocations: 7.938 kB / 1.558 GB, free: 5.48 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.7709, allocations: 240.4 kB / 1.558 GB, free: 5.199 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.7711, allocations: 71.58 kB / 1.558 GB, free: 5.129 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.7711, allocations: 7.984 kB / 1.558 GB, free: 5.121 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.7714, allocations: 11.98 kB / 1.558 GB, free: 5.109 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.7714, allocations: 23.92 kB / 1.558 GB, free: 5.086 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.7714, allocations: 4 kB / 1.558 GB, free: 5.082 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006481/0.7721, allocations: 402.8 kB / 1.559 GB, free: 4.691 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.7721, allocations: 0 / 1.559 GB, free: 4.691 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006726/0.7727, allocations: 179.4 kB / 1.559 GB, free: 4.516 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004871/0.7732, allocations: 188.7 kB / 1.559 GB, free: 4.332 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.7738, allocations: 241.1 kB / 1.559 GB, free: 4.098 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7738, allocations: 0 / 1.559 GB, free: 4.098 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.7739, allocations: 47.84 kB / 1.559 GB, free: 4.051 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.7749, allocations: 209 kB / 1.559 GB, free: 3.852 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.7768, allocations: 1.037 MB / 1.56 GB, free: 2.754 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.7772, allocations: 343.8 kB / 1.561 GB, free: 2.395 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.7776, allocations: 116.7 kB / 1.561 GB, free: 2.281 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.7777, allocations: 31.44 kB / 1.561 GB, free: 2.25 MB / 1.248 GB Notification: Performance of SimCode: time 4.51e-07/0.7777, allocations: 0 / 1.561 GB, free: 2.25 MB / 1.248 GB Notification: Performance of Templates: time 0.01778/0.7955, allocations: 8.623 MB / 1.569 GB, free: 9.844 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.11473460122943]