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.001793/0.001793, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002211/0.002211, allocations: 165.5 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.961/2.961, allocations: 389 MB / 0.633 GB, free: 1.008 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.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.512e-06/1.512e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.705e-05, allocations: 2.281 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.889/0.889, allocations: 150.6 MB / 1.147 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005541/0.8945, allocations: 3.214 MB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.8955, allocations: 30 kB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.8964, allocations: 304.3 kB / 1.151 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.8992, allocations: 1.08 MB / 1.152 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.9012, allocations: 0.7026 MB / 1.152 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.9033, allocations: 1.561 MB / 1.154 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006314/0.9039, allocations: 371.6 kB / 1.154 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.9057, allocations: 0.9046 MB / 1.155 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.9069, allocations: 439.5 kB / 1.156 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.907, allocations: 53.5 kB / 1.156 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.9086, allocations: 0.6956 MB / 1.156 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.9089, allocations: 265 kB / 1.157 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.9093, allocations: 236.7 kB / 1.157 GB, free: 44.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.9113, allocations: 1.158 MB / 1.158 GB, free: 44.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9113, allocations: 1.062 kB / 1.158 GB, free: 44.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9113, allocations: 1.594 kB / 1.158 GB, free: 44.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.9114, allocations: 0 / 1.158 GB, free: 44.72 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001286/0.9126, allocations: 0.8452 MB / 1.159 GB, free: 44.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.9127, allocations: 11.62 kB / 1.159 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.9139, allocations: 182.6 kB / 1.159 GB, free: 44.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.9146, allocations: 463.9 kB / 1.159 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.9147, allocations: 35.09 kB / 1.159 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.9147, allocations: 42.3 kB / 1.159 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.9155, allocations: 0.715 MB / 1.16 GB, free: 43.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.9155, allocations: 0 / 1.16 GB, free: 43.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.9156, allocations: 19.47 kB / 1.16 GB, free: 43.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.9156, allocations: 17.81 kB / 1.16 GB, free: 43.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.9162, allocations: 413.9 kB / 1.161 GB, free: 43.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.9183, allocations: 1.14 MB / 1.162 GB, free: 43.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.9187, allocations: 284.4 kB / 1.162 GB, free: 43.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.919, allocations: 175.7 kB / 1.162 GB, free: 43.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.9191, allocations: 21.66 kB / 1.162 GB, free: 43.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.9191, allocations: 43.3 kB / 1.162 GB, free: 43.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.9191, allocations: 0.8438 kB / 1.162 GB, free: 43.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001875/0.921, allocations: 0.9739 MB / 1.163 GB, free: 43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.9211, allocations: 55.09 kB / 1.163 GB, free: 42.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.9214, allocations: 356.3 kB / 1.164 GB, free: 42.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.9214, allocations: 33.17 kB / 1.164 GB, free: 42.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.9216, allocations: 268.3 kB / 1.164 GB, free: 42.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.9216, allocations: 118.5 kB / 1.164 GB, free: 42.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.9217, allocations: 69.42 kB / 1.164 GB, free: 42.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.9218, allocations: 349.7 kB / 1.164 GB, free: 42.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.922, allocations: 130.6 kB / 1.164 GB, free: 42.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.9222, allocations: 253.5 kB / 1.165 GB, free: 42.1 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.924, allocations: 0.7773 MB / 1.165 GB, free: 42.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9241, allocations: 0 / 1.165 GB, free: 42.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005461/0.9246, allocations: 410.7 kB / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9246, allocations: 6.188 kB / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9246, allocations: 0 / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.9246, allocations: 6.125 kB / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.9249, allocations: 68.88 kB / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.9249, allocations: 6.594 kB / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.9253, allocations: 14.97 kB / 1.166 GB, free: 41.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.9254, allocations: 15.41 kB / 1.166 GB, free: 41.98 MB / 1.076 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.0002421/0.9256, allocations: 212.5 kB / 1.166 GB, free: 41.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.9257, allocations: 42.92 kB / 1.166 GB, free: 41.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.9258, allocations: 49.34 kB / 1.166 GB, free: 41.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9258, allocations: 6.188 kB / 1.166 GB, free: 41.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9258, allocations: 3.562 kB / 1.166 GB, free: 41.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004385/0.9262, allocations: 414 kB / 1.167 GB, free: 41.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.9277, allocations: 1.096 MB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9277, allocations: 5.625 kB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.9281, allocations: 76.28 kB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.9281, allocations: 6.594 kB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.9281, allocations: 8.688 kB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.9281, allocations: 11.81 kB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9281, allocations: 5.781 kB / 1.168 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.9289, allocations: 0.6847 MB / 1.169 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.9291, allocations: 83.72 kB / 1.169 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.9292, allocations: 8.688 kB / 1.169 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.9296, allocations: 18.3 kB / 1.169 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.9296, allocations: 38.45 kB / 1.169 GB, free: 40.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.9297, allocations: 26.88 kB / 1.169 GB, free: 40.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002364/0.9299, allocations: 248.5 kB / 1.169 GB, free: 40.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9299, allocations: 0 / 1.169 GB, free: 40.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006169/0.9305, allocations: 143.5 kB / 1.169 GB, free: 40.89 MB / 1.076 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.0003184/0.9308, allocations: 157.6 kB / 1.169 GB, free: 40.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.9314, allocations: 316.8 kB / 1.17 GB, free: 40.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9314, allocations: 0.9688 kB / 1.17 GB, free: 40.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.9316, allocations: 161.2 kB / 1.17 GB, free: 40.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.933, allocations: 281.5 kB / 1.17 GB, free: 40.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.9349, allocations: 1.042 MB / 1.171 GB, free: 40.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.9353, allocations: 287.3 kB / 1.171 GB, free: 40.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005191/0.9358, allocations: 118.8 kB / 1.171 GB, free: 40.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.936, allocations: 38.47 kB / 1.171 GB, free: 40.13 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.936, allocations: 1.188 kB / 1.171 GB, free: 40.13 MB / 1.076 GB Notification: Performance of Templates: time 0.01988/0.9558, allocations: 9.348 MB / 1.181 GB, free: 39.29 MB / 1.076 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.580919619649649]