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.001883/0.001883, 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.002536/0.002536, allocations: 157.7 kB / 22.75 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.501/1.501, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.221/3.221, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.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 1.713e-06/1.713e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.458e-05, allocations: 3.25 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8068/0.8068, allocations: 195.7 MB / 1.069 GB, free: 59.06 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008375/0.8152, allocations: 5.441 MB / 1.074 GB, free: 59.02 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.8166, allocations: 57.03 kB / 1.074 GB, free: 59.02 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.818, allocations: 0.5653 MB / 1.075 GB, free: 59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.8227, allocations: 1.976 MB / 1.077 GB, free: 58.93 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.8258, allocations: 1.24 MB / 1.078 GB, free: 58.89 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003597/0.8294, allocations: 3.048 MB / 1.081 GB, free: 58.71 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.8305, allocations: 0.8 MB / 1.082 GB, free: 58.63 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.8331, allocations: 1.676 MB / 1.083 GB, free: 58.47 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.8353, allocations: 0.9113 MB / 1.084 GB, free: 58.38 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.8355, allocations: 109.8 kB / 1.084 GB, free: 58.38 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.8381, allocations: 1.198 MB / 1.085 GB, free: 58.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.8385, allocations: 0.4947 MB / 1.086 GB, free: 58.19 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.8392, allocations: 483.3 kB / 1.086 GB, free: 58.14 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.8421, allocations: 2.172 MB / 1.088 GB, free: 57.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8421, allocations: 4.75 kB / 1.088 GB, free: 57.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8421, allocations: 0 / 1.088 GB, free: 57.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.8421, allocations: 0.7812 kB / 1.088 GB, free: 57.95 MB / 1.01 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.002162/0.8443, allocations: 1.449 MB / 1.09 GB, free: 57.24 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.8443, allocations: 10.5 kB / 1.09 GB, free: 57.24 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.8464, allocations: 429.6 kB / 1.09 GB, free: 57.14 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.8477, allocations: 0.8383 MB / 1.091 GB, free: 56.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.8477, allocations: 68.09 kB / 1.091 GB, free: 56.87 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.8479, allocations: 96.12 kB / 1.091 GB, free: 56.87 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.8494, allocations: 1.364 MB / 1.093 GB, free: 56.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.8495, allocations: 3.688 kB / 1.093 GB, free: 56.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.812e-05/0.8496, allocations: 36.78 kB / 1.093 GB, free: 56.25 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.8496, allocations: 36.02 kB / 1.093 GB, free: 56.25 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.8509, allocations: 0.829 MB / 1.093 GB, free: 56.24 MB / 1.01 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.004604/0.8555, allocations: 2.42 MB / 1.096 GB, free: 55.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.8563, allocations: 477 kB / 1.096 GB, free: 55.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.8567, allocations: 281.4 kB / 1.097 GB, free: 55.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.8569, allocations: 28.17 kB / 1.097 GB, free: 55.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8569, allocations: 48.61 kB / 1.097 GB, free: 55.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.8569, allocations: 2.031 kB / 1.097 GB, free: 55.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.003639/0.8606, allocations: 1.658 MB / 1.098 GB, free: 55.33 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.8606, allocations: 60.33 kB / 1.098 GB, free: 55.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.8614, allocations: 0.6462 MB / 1.099 GB, free: 55.13 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.8614, allocations: 42.55 kB / 1.099 GB, free: 55.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.8617, allocations: 0.4935 MB / 1.099 GB, free: 54.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.8619, allocations: 182.2 kB / 1.1 GB, free: 54.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.8621, allocations: 119 kB / 1.1 GB, free: 54.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.8622, allocations: 384.3 kB / 1.1 GB, free: 54.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.8626, allocations: 245.7 kB / 1.1 GB, free: 54.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.8632, allocations: 484 kB / 1.101 GB, free: 54.13 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/0.8672, allocations: 1.459 MB / 1.102 GB, free: 54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.8672, allocations: 2.406 kB / 1.102 GB, free: 54 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001649/0.8689, allocations: 0.801 MB / 1.103 GB, free: 53.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.8689, allocations: 6.906 kB / 1.103 GB, free: 53.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8689, allocations: 3.312 kB / 1.103 GB, free: 53.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.8691, allocations: 67.12 kB / 1.103 GB, free: 53.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/0.8699, allocations: 151.9 kB / 1.103 GB, free: 53.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.8721, allocations: 2.871 MB / 1.106 GB, free: 51.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.8731, allocations: 33.12 kB / 1.106 GB, free: 51.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.8732, allocations: 24.2 kB / 1.106 GB, free: 51.52 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: 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.0006905/0.8739, allocations: 300.1 kB / 1.106 GB, free: 51.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.8742, allocations: 100 kB / 1.106 GB, free: 51.37 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.8745, allocations: 88.17 kB / 1.107 GB, free: 51.35 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.8745, allocations: 5.125 kB / 1.107 GB, free: 51.35 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.8745, allocations: 0.9375 kB / 1.107 GB, free: 51.35 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.8757, allocations: 0.8346 MB / 1.107 GB, free: 50.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.8791, allocations: 1.544 MB / 1.109 GB, free: 50.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.8792, allocations: 4.625 kB / 1.109 GB, free: 50.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.8798, allocations: 131.1 kB / 1.109 GB, free: 50.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.8799, allocations: 38.97 kB / 1.109 GB, free: 50.53 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.88, allocations: 14.16 kB / 1.109 GB, free: 50.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.8811, allocations: 1.474 MB / 1.111 GB, free: 49.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8811, allocations: 3.438 kB / 1.111 GB, free: 49.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.883, allocations: 1.069 MB / 1.112 GB, free: 49.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.8835, allocations: 151.8 kB / 1.112 GB, free: 49 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.8837, allocations: 17.22 kB / 1.112 GB, free: 49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/0.8844, allocations: 35.88 kB / 1.112 GB, free: 48.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.8846, allocations: 43.89 kB / 1.112 GB, free: 48.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8847, allocations: 33.7 kB / 1.112 GB, free: 48.99 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007921/0.8855, allocations: 451.2 kB / 1.112 GB, free: 48.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8855, allocations: 0 / 1.112 GB, free: 48.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00142/0.8869, allocations: 275.2 kB / 1.113 GB, free: 48.9 MB / 1.01 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.0004568/0.8874, allocations: 183.6 kB / 1.113 GB, free: 48.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.8888, allocations: 0.7832 MB / 1.113 GB, free: 48.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.8888, allocations: 4.031 kB / 1.113 GB, free: 48.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.8894, allocations: 392.5 kB / 1.114 GB, free: 48.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.892, allocations: 0.4922 MB / 1.114 GB, free: 48.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.8952, allocations: 1.752 MB / 1.116 GB, free: 47.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.8959, allocations: 0.491 MB / 1.117 GB, free: 47.51 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009009/0.8968, allocations: 193.2 kB / 1.117 GB, free: 47.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.897, allocations: 65.06 kB / 1.117 GB, free: 47.47 MB / 1.01 GB Notification: Performance of SimCode: time 1.313e-06/0.897, allocations: 0 / 1.117 GB, free: 47.47 MB / 1.01 GB Notification: Performance of Templates: time 0.0332/0.9302, allocations: 17.75 MB / 1.134 GB, free: 45.64 MB / 1.01 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: 9.611403178074397]