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.001366/0.001366, allocations: 88.72 kB / 19.44 MB, free: 356 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.001615/0.001615, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.219/3.219, allocations: 429.6 MB / 0.673 GB, free: 3.902 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 2.204e-06/2.204e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.375e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.226/0.226, allocations: 150.7 MB / 1.025 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006872/0.2329, allocations: 3.206 MB / 1.028 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009078/0.2338, allocations: 31.75 kB / 1.028 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.235, allocations: 306 kB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.2383, allocations: 1.092 MB / 1.029 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.2404, allocations: 0.6894 MB / 1.03 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.243, allocations: 1.564 MB / 1.031 GB, free: 8.398 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009263/0.244, allocations: 382.2 kB / 1.032 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.2462, allocations: 0.9075 MB / 1.033 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.2478, allocations: 443.7 kB / 1.033 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.248, allocations: 60 kB / 1.033 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.25, allocations: 0.6971 MB / 1.034 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.2505, allocations: 259.3 kB / 1.034 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.2511, allocations: 243.4 kB / 1.034 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.2535, allocations: 1.157 MB / 1.035 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.2535, allocations: 8 kB / 1.035 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2535, allocations: 0 / 1.035 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.2535, allocations: 0 / 1.035 GB, free: 4.266 MB / 0.9948 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.002037/0.2555, allocations: 0.8548 MB / 1.036 GB, free: 3.379 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2556, allocations: 8.031 kB / 1.036 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.2571, allocations: 235.2 kB / 1.037 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2581, allocations: 490.6 kB / 1.037 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.2581, allocations: 29 kB / 1.037 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2582, allocations: 55.89 kB / 1.037 GB, free: 2.559 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.2593, allocations: 0.7142 MB / 1.038 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2594, allocations: 0 / 1.038 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.2594, allocations: 20 kB / 1.038 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.2595, allocations: 17 kB / 1.038 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.2602, allocations: 407.7 kB / 1.038 GB, free: 1.344 MB / 0.9948 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.002711/0.2629, allocations: 1.168 MB / 1.039 GB, free: 144 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.2635, allocations: 278.6 kB / 1.04 GB, free: 15.86 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.2638, allocations: 174.4 kB / 1.04 GB, free: 15.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.2639, allocations: 24 kB / 1.04 GB, free: 15.66 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.2639, allocations: 42.55 kB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.2639, allocations: 0 / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.002155/0.2661, allocations: 0.9982 MB / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2661, allocations: 55.41 kB / 1.041 GB, free: 14.52 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.2666, allocations: 349.7 kB / 1.041 GB, free: 14.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.2667, allocations: 33.7 kB / 1.041 GB, free: 14.12 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.2669, allocations: 268.4 kB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.267, allocations: 119 kB / 1.042 GB, free: 13.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2672, allocations: 73.59 kB / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.2674, allocations: 350.8 kB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2676, allocations: 131.9 kB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.268, allocations: 241.3 kB / 1.042 GB, free: 12.91 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.002126/0.2701, allocations: 0.7863 MB / 1.043 GB, free: 12.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2701, allocations: 0 / 1.043 GB, free: 12.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008148/0.2709, allocations: 421.1 kB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.271, allocations: 6.5 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.271, allocations: 0 / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.271, allocations: 7.938 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.2713, allocations: 71.91 kB / 1.044 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2713, allocations: 7.938 kB / 1.044 GB, free: 11.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.2717, allocations: 11.98 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.2718, allocations: 19.98 kB / 1.044 GB, free: 11.57 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.000291/0.272, allocations: 205.7 kB / 1.044 GB, free: 11.36 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2722, allocations: 59.84 kB / 1.044 GB, free: 11.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.2723, allocations: 52.25 kB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2723, allocations: 7.938 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2723, allocations: 0 / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006011/0.2729, allocations: 405.4 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.2749, allocations: 1.089 MB / 1.045 GB, free: 9.637 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2749, allocations: 7.938 kB / 1.045 GB, free: 9.629 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.2753, allocations: 75.91 kB / 1.045 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.2753, allocations: 4 kB / 1.045 GB, free: 9.551 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.2754, allocations: 12 kB / 1.046 GB, free: 9.539 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.2754, allocations: 7.938 kB / 1.046 GB, free: 9.531 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.2754, allocations: 11.92 kB / 1.046 GB, free: 9.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2765, allocations: 0.7006 MB / 1.046 GB, free: 8.754 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.2767, allocations: 87.7 kB / 1.046 GB, free: 8.668 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.2768, allocations: 12 kB / 1.046 GB, free: 8.656 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.2772, allocations: 25.98 kB / 1.046 GB, free: 8.633 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.2773, allocations: 27.91 kB / 1.046 GB, free: 8.605 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.2773, allocations: 27.92 kB / 1.046 GB, free: 8.578 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003047/0.2776, allocations: 247.2 kB / 1.047 GB, free: 8.34 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2776, allocations: 0 / 1.047 GB, free: 8.34 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005939/0.2782, allocations: 148 kB / 1.047 GB, free: 8.195 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.0003737/0.2786, allocations: 159 kB / 1.047 GB, free: 8.031 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007604/0.2794, allocations: 303.7 kB / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.2794, allocations: 4 kB / 1.047 GB, free: 7.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.2797, allocations: 152.7 kB / 1.047 GB, free: 7.582 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.2812, allocations: 300.8 kB / 1.048 GB, free: 7.301 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.2833, allocations: 1.03 MB / 1.049 GB, free: 6.188 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2836, allocations: 288.4 kB / 1.049 GB, free: 5.883 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.2841, allocations: 120.1 kB / 1.049 GB, free: 5.762 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2842, allocations: 40.5 kB / 1.049 GB, free: 5.723 MB / 1.01 GB Notification: Performance of SimCode: time 3.51e-07/0.2842, allocations: 4 kB / 1.049 GB, free: 5.719 MB / 1.01 GB Notification: Performance of Templates: time 0.3946/0.6788, allocations: 9.495 MB / 1.058 GB, free: 220 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=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: 9.206855266005732]