Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001583/0.001583, allocations: 80.28 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.001752/0.001752, allocations: 163.8 kB / 22.46 MB, free: 5.355 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.176 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 3.108/3.108, allocations: 389 MB / 0.633 GB, free: 0.9727 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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.208e-05, allocations: 2.281 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.938/0.9381, allocations: 195.7 MB / 1.191 GB, free: 44.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009565/0.9476, allocations: 5.433 MB / 1.197 GB, free: 44.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.9496, allocations: 57.44 kB / 1.197 GB, free: 44.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.9514, allocations: 0.5626 MB / 1.197 GB, free: 44.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.9572, allocations: 1.971 MB / 1.199 GB, free: 43.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.961, allocations: 1.25 MB / 1.2 GB, free: 43.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00498/0.966, allocations: 3.033 MB / 1.203 GB, free: 42.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.9675, allocations: 0.7611 MB / 1.204 GB, free: 42.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.9714, allocations: 1.665 MB / 1.206 GB, free: 42.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003606/0.975, allocations: 0.8973 MB / 1.207 GB, free: 41.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003947/0.9754, allocations: 107.2 kB / 1.207 GB, free: 41.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005105/0.9805, allocations: 1.196 MB / 1.208 GB, free: 41.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008397/0.9813, allocations: 498.8 kB / 1.208 GB, free: 41.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.9825, allocations: 484.7 kB / 1.209 GB, free: 41.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.9878, allocations: 2.171 MB / 1.211 GB, free: 40.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.9878, allocations: 3.438 kB / 1.211 GB, free: 40.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.766e-06/0.9878, allocations: 0 / 1.211 GB, free: 40.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.9878, allocations: 5.75 kB / 1.211 GB, free: 40.58 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003601/0.9914, allocations: 1.443 MB / 1.212 GB, free: 39.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.9915, allocations: 9.531 kB / 1.212 GB, free: 39.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.9938, allocations: 324.7 kB / 1.213 GB, free: 39.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.9959, allocations: 0.7882 MB / 1.213 GB, free: 39.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.996, allocations: 69.62 kB / 1.213 GB, free: 39.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.9961, allocations: 79.88 kB / 1.214 GB, free: 39.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.9981, allocations: 1.372 MB / 1.215 GB, free: 38.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.9981, allocations: 0.75 kB / 1.215 GB, free: 38.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.9983, allocations: 38.75 kB / 1.215 GB, free: 38.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.9983, allocations: 31.28 kB / 1.215 GB, free: 38.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.9999, allocations: 0.8311 MB / 1.216 GB, free: 37.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/1.005, allocations: 2.391 MB / 1.218 GB, free: 36.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/1.006, allocations: 466 kB / 1.219 GB, free: 36.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/1.007, allocations: 275.7 kB / 1.219 GB, free: 36.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/1.007, allocations: 26.2 kB / 1.219 GB, free: 36.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/1.007, allocations: 44.73 kB / 1.219 GB, free: 36.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.936e-06/1.007, allocations: 0 / 1.219 GB, free: 36.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.004173/1.011, allocations: 1.651 MB / 1.22 GB, free: 35.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.011, allocations: 58.31 kB / 1.221 GB, free: 35.69 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/1.012, allocations: 0.6472 MB / 1.221 GB, free: 35.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/1.012, allocations: 39.52 kB / 1.221 GB, free: 35.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/1.013, allocations: 499.9 kB / 1.222 GB, free: 34.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.013, allocations: 181.4 kB / 1.222 GB, free: 34.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.013, allocations: 117.1 kB / 1.222 GB, free: 34.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.013, allocations: 383.2 kB / 1.222 GB, free: 34.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/1.014, allocations: 252 kB / 1.223 GB, free: 34.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/1.014, allocations: 485.3 kB / 1.223 GB, free: 33.99 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/1.018, allocations: 1.461 MB / 1.224 GB, free: 33.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.018, allocations: 2.625 kB / 1.224 GB, free: 33.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001555/1.02, allocations: 0.7756 MB / 1.225 GB, free: 33.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.02, allocations: 7.328 kB / 1.225 GB, free: 33.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.02, allocations: 3.531 kB / 1.225 GB, free: 33.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/1.02, allocations: 74 kB / 1.225 GB, free: 33.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/1.02, allocations: 147.6 kB / 1.225 GB, free: 33.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/1.023, allocations: 2.865 MB / 1.228 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.024, allocations: 25.25 kB / 1.228 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/1.024, allocations: 22.5 kB / 1.228 GB, free: 30.52 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006227/1.024, allocations: 314.2 kB / 1.229 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/1.024, allocations: 85.16 kB / 1.229 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/1.025, allocations: 85.19 kB / 1.229 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.025, allocations: 6.25 kB / 1.229 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.025, allocations: 0.6094 kB / 1.229 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/1.026, allocations: 0.8438 MB / 1.23 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/1.029, allocations: 1.535 MB / 1.231 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.029, allocations: 3.812 kB / 1.231 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/1.029, allocations: 131.1 kB / 1.231 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/1.029, allocations: 44.53 kB / 1.231 GB, free: 28.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/1.029, allocations: 10.45 kB / 1.231 GB, free: 28.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/1.03, allocations: 1.468 MB / 1.233 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.03, allocations: 6.688 kB / 1.233 GB, free: 27.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.032, allocations: 1.048 MB / 1.234 GB, free: 26.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/1.033, allocations: 143.8 kB / 1.234 GB, free: 26.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.033, allocations: 16.22 kB / 1.234 GB, free: 26.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/1.033, allocations: 38.72 kB / 1.234 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.033, allocations: 37.66 kB / 1.234 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/1.034, allocations: 28.45 kB / 1.234 GB, free: 26.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006507/1.034, allocations: 457.3 kB / 1.234 GB, free: 26.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.034, allocations: 4.781 kB / 1.234 GB, free: 26.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001176/1.035, allocations: 267.9 kB / 1.235 GB, free: 26.62 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003837/1.036, allocations: 186 kB / 1.235 GB, free: 26.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00139/1.037, allocations: 0.7893 MB / 1.236 GB, free: 26.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.037, allocations: 5.375 kB / 1.236 GB, free: 26.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/1.038, allocations: 394 kB / 1.236 GB, free: 25.92 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/1.04, allocations: 489.6 kB / 1.236 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/1.043, allocations: 1.733 MB / 1.238 GB, free: 24.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/1.044, allocations: 496.6 kB / 1.239 GB, free: 24.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008621/1.045, allocations: 192.7 kB / 1.239 GB, free: 24.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.045, allocations: 60 kB / 1.239 GB, free: 24.62 MB / 1.076 GB Notification: Performance of SimCode: time 1.422e-06/1.045, allocations: 0 / 1.239 GB, free: 24.62 MB / 1.076 GB Notification: Performance of Templates: time 0.03031/1.075, allocations: 17.55 MB / 1.256 GB, free: 22.7 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.002493031322956]