Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.002045/0.002045, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.002767/0.002767, allocations: 168.8 kB / 22.46 MB, free: 5.359 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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 2.926/2.926, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.246e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8244/0.8244, allocations: 185.7 MB / 1.181 GB, free: 44.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.8389, allocations: 9.259 MB / 1.191 GB, free: 44.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.8416, allocations: 78.03 kB / 1.191 GB, free: 44.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.8437, allocations: 0.7653 MB / 1.191 GB, free: 44.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009258/0.853, allocations: 2.989 MB / 1.194 GB, free: 43.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.8574, allocations: 1.451 MB / 1.196 GB, free: 43.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006969/0.8643, allocations: 4.152 MB / 1.2 GB, free: 42.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.8662, allocations: 0.9721 MB / 1.201 GB, free: 42.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.8711, allocations: 2.315 MB / 1.203 GB, free: 41.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.8742, allocations: 1.153 MB / 1.204 GB, free: 41.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.8745, allocations: 143.7 kB / 1.204 GB, free: 41.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.8797, allocations: 1.97 MB / 1.206 GB, free: 40.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009237/0.8806, allocations: 0.6601 MB / 1.207 GB, free: 40.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.8818, allocations: 0.6161 MB / 1.207 GB, free: 40.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006452/0.8883, allocations: 3.042 MB / 1.21 GB, free: 39.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8883, allocations: 0.75 kB / 1.21 GB, free: 39.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8883, allocations: 2.531 kB / 1.21 GB, free: 39.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.455e-05/0.8883, allocations: 1 kB / 1.21 GB, free: 39.38 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003366/0.8917, allocations: 1.844 MB / 1.212 GB, free: 38.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8917, allocations: 10.03 kB / 1.212 GB, free: 38.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.8951, allocations: 499.7 kB / 1.213 GB, free: 38.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.8971, allocations: 1.048 MB / 1.214 GB, free: 37.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.8971, allocations: 84.58 kB / 1.214 GB, free: 37.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.8973, allocations: 109.2 kB / 1.214 GB, free: 37.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.8995, allocations: 1.611 MB / 1.215 GB, free: 36.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.8995, allocations: 0.9688 kB / 1.215 GB, free: 36.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.8997, allocations: 43.56 kB / 1.215 GB, free: 36.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.8997, allocations: 49.17 kB / 1.215 GB, free: 36.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.9015, allocations: 1.064 MB / 1.217 GB, free: 36.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/0.907, allocations: 2.701 MB / 1.219 GB, free: 34.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.9082, allocations: 0.7571 MB / 1.22 GB, free: 34.63 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008695/0.9091, allocations: 456.4 kB / 1.22 GB, free: 34.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.9095, allocations: 60.84 kB / 1.22 GB, free: 34.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.9095, allocations: 46.52 kB / 1.22 GB, free: 34.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 3.747e-06/0.9095, allocations: 0 / 1.22 GB, free: 34.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=89): time 0.008007/0.9175, allocations: 2.618 MB / 1.223 GB, free: 33.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.9176, allocations: 63.84 kB / 1.223 GB, free: 33.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.9192, allocations: 0.7315 MB / 1.224 GB, free: 32.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.9194, allocations: 47.55 kB / 1.224 GB, free: 32.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/0.92, allocations: 0.5603 MB / 1.224 GB, free: 32.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/0.9205, allocations: 319.5 kB / 1.225 GB, free: 32.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.9209, allocations: 160.2 kB / 1.225 GB, free: 32.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9211, allocations: 347.8 kB / 1.225 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.9218, allocations: 338.9 kB / 1.225 GB, free: 31.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/0.9226, allocations: 0.5823 MB / 1.226 GB, free: 31.2 MB / 1.076 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.929, allocations: 2.819 MB / 1.229 GB, free: 30.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.929, allocations: 0.9688 kB / 1.229 GB, free: 30.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001799/0.9308, allocations: 0.9941 MB / 1.23 GB, free: 29.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.9308, allocations: 6.812 kB / 1.23 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.9308, allocations: 11.58 kB / 1.23 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.9308, allocations: 7.125 kB / 1.23 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.9316, allocations: 180.8 kB / 1.23 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.9317, allocations: 7.922 kB / 1.23 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.9328, allocations: 27.16 kB / 1.23 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.9329, allocations: 38.84 kB / 1.23 GB, free: 29.75 MB / 1.076 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0008303/0.9337, allocations: 383.8 kB / 1.23 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.934, allocations: 111.2 kB / 1.231 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.9342, allocations: 129.2 kB / 1.231 GB, free: 29.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.9342, allocations: 9.5 kB / 1.231 GB, free: 29.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/0.9343, allocations: 5.062 kB / 1.231 GB, free: 29.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/0.9359, allocations: 1.088 MB / 1.232 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.9406, allocations: 2.69 MB / 1.234 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.9407, allocations: 9.641 kB / 1.234 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.9414, allocations: 161.4 kB / 1.235 GB, free: 27.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/0.9417, allocations: 97.42 kB / 1.235 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.9418, allocations: 30.2 kB / 1.235 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.9437, allocations: 2.829 MB / 1.237 GB, free: 24.72 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.9437, allocations: 14.09 kB / 1.237 GB, free: 24.72 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.9461, allocations: 1.7 MB / 1.239 GB, free: 23.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.9468, allocations: 210.9 kB / 1.239 GB, free: 23.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.947, allocations: 31.81 kB / 1.239 GB, free: 23.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/0.9479, allocations: 42.19 kB / 1.239 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.9481, allocations: 86.2 kB / 1.239 GB, free: 23.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.722e-05/0.9482, allocations: 51.81 kB / 1.239 GB, free: 23.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007169/0.9489, allocations: 0.5111 MB / 1.24 GB, free: 23.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9489, allocations: 3.938 kB / 1.24 GB, free: 23.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001425/0.9503, allocations: 366.4 kB / 1.24 GB, free: 23.31 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004361/0.9507, allocations: 224 kB / 1.241 GB, free: 23.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.9521, allocations: 0.8087 MB / 1.241 GB, free: 22.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.9521, allocations: 6.812 kB / 1.241 GB, free: 22.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.953, allocations: 0.6532 MB / 1.242 GB, free: 22.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.9563, allocations: 0.7232 MB / 1.243 GB, free: 22.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.96, allocations: 2.603 MB / 1.245 GB, free: 20.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.9606, allocations: 0.6555 MB / 1.246 GB, free: 20.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001022/0.9616, allocations: 308 kB / 1.246 GB, free: 20.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.9619, allocations: 83.75 kB / 1.246 GB, free: 20.57 MB / 1.076 GB Notification: Performance of SimCode: time 8.71e-07/0.9619, allocations: 0 / 1.246 GB, free: 20.57 MB / 1.076 GB Notification: Performance of Templates: time 0.0365/0.9984, allocations: 24.36 MB / 1.27 GB, free: 15.43 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.127548731863499]