Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001923/0.001923, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002206/0.002206, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 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.514/3.514, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.5469 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.01e-05, allocations: 5.547 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2366/0.2366, allocations: 167.1 MB / 1.041 GB, free: 15 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007013/0.2436, allocations: 3.413 MB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008386/0.2445, allocations: 27.75 kB / 1.044 GB, free: 11.55 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.2456, allocations: 310 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.2486, allocations: 1.088 MB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.2505, allocations: 0.6855 MB / 1.046 GB, free: 9.461 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.2532, allocations: 1.567 MB / 1.048 GB, free: 7.895 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.254, allocations: 386.2 kB / 1.048 GB, free: 7.512 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.2559, allocations: 0.9075 MB / 1.049 GB, free: 6.602 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.2571, allocations: 457.9 kB / 1.049 GB, free: 6.164 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.2572, allocations: 55.94 kB / 1.049 GB, free: 6.109 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.2591, allocations: 0.6971 MB / 1.05 GB, free: 5.41 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.2594, allocations: 267.2 kB / 1.05 GB, free: 5.148 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.2598, allocations: 243.5 kB / 1.05 GB, free: 4.91 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.2618, allocations: 1.169 MB / 1.052 GB, free: 3.738 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2619, allocations: 0 / 1.052 GB, free: 3.738 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2619, allocations: 0 / 1.052 GB, free: 3.738 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.2619, allocations: 0 / 1.052 GB, free: 3.738 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001793/0.2637, allocations: 1.013 MB / 1.053 GB, free: 2.688 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2637, allocations: 8.031 kB / 1.053 GB, free: 2.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.265, allocations: 231.2 kB / 1.053 GB, free: 2.453 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.266, allocations: 481.4 kB / 1.053 GB, free: 1.961 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.2661, allocations: 29 kB / 1.053 GB, free: 1.934 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2662, allocations: 59.88 kB / 1.053 GB, free: 1.875 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.2671, allocations: 0.63 MB / 1.054 GB, free: 1.172 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.2672, allocations: 4 kB / 1.054 GB, free: 1.168 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.2672, allocations: 16 kB / 1.054 GB, free: 1.152 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.2672, allocations: 17 kB / 1.054 GB, free: 1.137 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.2678, allocations: 283.8 kB / 1.054 GB, free: 0.8594 MB / 1.01 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.5119/0.7797, allocations: 1.336 MB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.7801, allocations: 224 kB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.7803, allocations: 120.1 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.7804, allocations: 25.88 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.7805, allocations: 39.73 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.7805, allocations: 0 / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.001695/0.7822, allocations: 0.7893 MB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.7822, allocations: 54.69 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.7825, allocations: 463.3 kB / 1.057 GB, free: 222.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.7826, allocations: 32.23 kB / 1.057 GB, free: 222.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.7827, allocations: 333.7 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/0.7828, allocations: 133 kB / 1.058 GB, free: 221.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.7829, allocations: 82.09 kB / 1.058 GB, free: 221.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.783, allocations: 0.549 MB / 1.058 GB, free: 221.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.7832, allocations: 84.97 kB / 1.058 GB, free: 221.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.7834, allocations: 229.1 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.785, allocations: 0.6123 MB / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.785, allocations: 1.156 kB / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000475/0.7854, allocations: 333.4 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7854, allocations: 9.562 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7855, allocations: 1.688 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.7855, allocations: 4.641 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.7858, allocations: 73.48 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7858, allocations: 6.25 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.7861, allocations: 7.562 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.7862, allocations: 15.28 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001946/0.7864, allocations: 224.3 kB / 1.06 GB, free: 220.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.7864, allocations: 56.86 kB / 1.06 GB, free: 220.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.7866, allocations: 47.75 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7866, allocations: 2.781 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7866, allocations: 0 / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000356/0.7869, allocations: 322.8 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.7884, allocations: 1.131 MB / 1.061 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7884, allocations: 2.906 kB / 1.061 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.7887, allocations: 75.69 kB / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.7887, allocations: 12.72 kB / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.7888, allocations: 9.812 kB / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.7888, allocations: 12.88 kB / 1.062 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7888, allocations: 4.312 kB / 1.062 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.7894, allocations: 0.6549 MB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.7896, allocations: 82.02 kB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.7897, allocations: 15.86 kB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.79, allocations: 14.12 kB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.7901, allocations: 38.86 kB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.7901, allocations: 20.45 kB / 1.062 GB, free: 218.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002086/0.7903, allocations: 300.3 kB / 1.063 GB, free: 218.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7903, allocations: 0 / 1.063 GB, free: 218.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005268/0.7909, allocations: 143.1 kB / 1.063 GB, free: 218.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0002426/0.7911, allocations: 155.2 kB / 1.063 GB, free: 218.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005137/0.7916, allocations: 247.4 kB / 1.063 GB, free: 218.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7916, allocations: 4.062 kB / 1.063 GB, free: 218.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.7919, allocations: 143.3 kB / 1.063 GB, free: 218.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.7932, allocations: 293.7 kB / 1.064 GB, free: 218.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.7945, allocations: 1.055 MB / 1.065 GB, free: 217.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.7948, allocations: 272.1 kB / 1.065 GB, free: 217.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000314/0.7951, allocations: 103.1 kB / 1.065 GB, free: 217.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7952, allocations: 38.83 kB / 1.065 GB, free: 217.5 MB / 1.01 GB Notification: Performance of SimCode: time 7.52e-07/0.7952, allocations: 0 / 1.065 GB, free: 217.5 MB / 1.01 GB Notification: Performance of Templates: time 0.0147/0.8099, allocations: 9.633 MB / 1.074 GB, free: 216.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.807002926943824]