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.001941/0.001941, 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.001945/0.001945, allocations: 213.5 kB / 22.24 MB, free: 4.855 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.805 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.538/3.538, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.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: 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.002383/0.002383, allocations: 71.36 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4165, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2209/0.6374, allocations: 150.7 MB / 1.511 GB, free: 6.258 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0089/0.6463, allocations: 3.197 MB / 1.514 GB, free: 3.059 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.6477, allocations: 31.75 kB / 1.514 GB, free: 3.027 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.6491, allocations: 310.1 kB / 1.514 GB, free: 2.723 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.6535, allocations: 1.054 MB / 1.516 GB, free: 1.664 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.6565, allocations: 0.6791 MB / 1.516 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.6599, allocations: 1.548 MB / 1.518 GB, free: 15.43 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.661, allocations: 381.7 kB / 1.518 GB, free: 15.06 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.6636, allocations: 0.7434 MB / 1.519 GB, free: 14.31 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.6657, allocations: 480.8 kB / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.666, allocations: 56 kB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.6685, allocations: 0.6857 MB / 1.52 GB, free: 13.1 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.6691, allocations: 251.2 kB / 1.52 GB, free: 12.86 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009538/0.6701, allocations: 278.9 kB / 1.52 GB, free: 12.58 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.6733, allocations: 1.117 MB / 1.522 GB, free: 11.46 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6733, allocations: 0 / 1.522 GB, free: 11.46 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6733, allocations: 0 / 1.522 GB, free: 11.46 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.885e-05/0.6733, allocations: 0 / 1.522 GB, free: 11.46 MB / 1.217 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.002748/0.6761, allocations: 0.8626 MB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.6761, allocations: 12.02 kB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.6782, allocations: 167.5 kB / 1.523 GB, free: 10.39 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.6798, allocations: 474.5 kB / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.6799, allocations: 36.94 kB / 1.523 GB, free: 9.867 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.68, allocations: 47.95 kB / 1.523 GB, free: 9.82 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.6815, allocations: 0.722 MB / 1.524 GB, free: 9.031 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.6815, allocations: 0 / 1.524 GB, free: 9.031 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.6816, allocations: 20 kB / 1.524 GB, free: 9.012 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.6817, allocations: 13 kB / 1.524 GB, free: 8.996 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6828, allocations: 419.7 kB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.6866, allocations: 1.133 MB / 1.525 GB, free: 7.422 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.6873, allocations: 282.5 kB / 1.526 GB, free: 7.137 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.6878, allocations: 168.8 kB / 1.526 GB, free: 6.969 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.688, allocations: 19.97 kB / 1.526 GB, free: 6.949 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.688, allocations: 42.5 kB / 1.526 GB, free: 6.898 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/0.688, allocations: 0 / 1.526 GB, free: 6.898 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.003181/0.6912, allocations: 0.9937 MB / 1.527 GB, free: 5.871 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.6913, allocations: 55.41 kB / 1.527 GB, free: 5.805 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.6919, allocations: 361.6 kB / 1.527 GB, free: 5.445 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.6919, allocations: 29.7 kB / 1.527 GB, free: 5.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.6922, allocations: 260.5 kB / 1.527 GB, free: 5.152 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.6924, allocations: 126.9 kB / 1.528 GB, free: 5.027 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.6926, allocations: 69.66 kB / 1.528 GB, free: 4.953 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.6928, allocations: 350.8 kB / 1.528 GB, free: 4.602 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.6931, allocations: 127.9 kB / 1.528 GB, free: 4.477 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.6936, allocations: 249.3 kB / 1.528 GB, free: 4.199 MB / 1.217 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.00244/0.696, allocations: 0.7849 MB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.696, allocations: 0 / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007009/0.6967, allocations: 409.1 kB / 1.53 GB, free: 2.988 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6968, allocations: 9.406 kB / 1.53 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6968, allocations: 0 / 1.53 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.6968, allocations: 7.938 kB / 1.53 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.6971, allocations: 71.91 kB / 1.53 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6971, allocations: 4 kB / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.6976, allocations: 15.94 kB / 1.53 GB, free: 2.883 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.6976, allocations: 16 kB / 1.53 GB, free: 2.867 MB / 1.217 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.0003088/0.6979, allocations: 205.7 kB / 1.53 GB, free: 2.656 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.698, allocations: 51.77 kB / 1.53 GB, free: 2.605 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.6982, allocations: 52.25 kB / 1.53 GB, free: 2.551 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6982, allocations: 4 kB / 1.53 GB, free: 2.547 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6982, allocations: 0 / 1.53 GB, free: 2.547 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005689/0.6988, allocations: 416.2 kB / 1.53 GB, free: 2.109 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.7007, allocations: 1.077 MB / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7007, allocations: 4 kB / 1.531 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.7011, allocations: 71.91 kB / 1.531 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.7011, allocations: 11.94 kB / 1.531 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.7011, allocations: 12 kB / 1.531 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.7012, allocations: 11.92 kB / 1.531 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7012, allocations: 4 kB / 1.531 GB, free: 0.832 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.7022, allocations: 0.7005 MB / 1.532 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.7025, allocations: 87.61 kB / 1.532 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.7026, allocations: 12 kB / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.703, allocations: 26.23 kB / 1.532 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.7031, allocations: 35.75 kB / 1.532 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.7032, allocations: 19.98 kB / 1.532 GB, free: 15.89 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003498/0.7035, allocations: 251.2 kB / 1.533 GB, free: 15.65 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7035, allocations: 0 / 1.533 GB, free: 15.65 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00068/0.7042, allocations: 140 kB / 1.533 GB, free: 15.52 MB / 1.232 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.0004182/0.7046, allocations: 159.9 kB / 1.533 GB, free: 15.35 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007068/0.7053, allocations: 313.7 kB / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.7053, allocations: 4 kB / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.7056, allocations: 152.7 kB / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.7071, allocations: 284.5 kB / 1.534 GB, free: 14.62 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.7092, allocations: 1.119 MB / 1.535 GB, free: 13.42 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.7096, allocations: 284.5 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006519/0.7102, allocations: 120.2 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.7104, allocations: 39.44 kB / 1.535 GB, free: 12.96 MB / 1.232 GB Notification: Performance of SimCode: time 6.12e-07/0.7104, allocations: 0 / 1.535 GB, free: 12.96 MB / 1.232 GB Notification: Performance of Templates: time 0.02806/0.7385, allocations: 10.32 MB / 1.545 GB, free: 2.879 MB / 1.232 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 800] 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: 10.063075255602598]