Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001476/0.001476, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001616/0.001616, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.973/2.973, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.954e-05, allocations: 3.297 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2883/0.2884, allocations: 195.7 MB / 1.002 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3003, allocations: 5.451 MB / 1.007 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.3022, allocations: 59.5 kB / 1.007 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.3041, allocations: 0.5588 MB / 1.008 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.006564/0.3106, allocations: 1.982 MB / 1.01 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.3144, allocations: 1.239 MB / 1.011 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005212/0.3196, allocations: 3.057 MB / 1.014 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.3213, allocations: 0.8089 MB / 1.015 GB, free: 468 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.3253, allocations: 1.679 MB / 1.016 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.3279, allocations: 0.912 MB / 1.017 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.3282, allocations: 108 kB / 1.017 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.3312, allocations: 1.192 MB / 1.019 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0007057/0.332, allocations: 0.4947 MB / 1.019 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.3329, allocations: 475 kB / 1.02 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.337, allocations: 2.177 MB / 1.022 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.337, allocations: 3.938 kB / 1.022 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.084e-06/0.337, allocations: 4 kB / 1.022 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.337, allocations: 0 / 1.022 GB, free: 9.441 MB / 0.9792 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.003047/0.3401, allocations: 1.45 MB / 1.023 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3401, allocations: 8.031 kB / 1.023 GB, free: 7.949 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.3424, allocations: 430.4 kB / 1.024 GB, free: 7.527 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.3442, allocations: 0.8424 MB / 1.024 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.3442, allocations: 62 kB / 1.024 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.3444, allocations: 99.89 kB / 1.025 GB, free: 6.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3467, allocations: 1.373 MB / 1.026 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3467, allocations: 0 / 1.026 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3468, allocations: 36 kB / 1.026 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.3468, allocations: 38 kB / 1.026 GB, free: 4.941 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3485, allocations: 0.8315 MB / 1.027 GB, free: 4.105 MB / 0.9792 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.005654/0.3542, allocations: 2.418 MB / 1.029 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3552, allocations: 472.4 kB / 1.03 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.3557, allocations: 278.2 kB / 1.03 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.3559, allocations: 24.48 kB / 1.03 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.356, allocations: 47 kB / 1.03 GB, free: 0.8164 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.356, allocations: 4 kB / 1.03 GB, free: 0.8125 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.004089/0.36, allocations: 1.671 MB / 1.032 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3601, allocations: 55.91 kB / 1.032 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/0.361, allocations: 0.6526 MB / 1.032 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.3611, allocations: 37.7 kB / 1.032 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.3616, allocations: 500 kB / 1.033 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.3618, allocations: 178.4 kB / 1.033 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.362, allocations: 118.3 kB / 1.033 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002526/0.3623, allocations: 378.8 kB / 1.033 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.3628, allocations: 249.1 kB / 1.034 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.3635, allocations: 483.4 kB / 1.034 GB, free: 12.38 MB / 0.9948 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.004137/0.3676, allocations: 1.463 MB / 1.035 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3676, allocations: 0 / 1.035 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001706/0.3693, allocations: 0.8033 MB / 1.036 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3693, allocations: 4 kB / 1.036 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3694, allocations: 7.938 kB / 1.036 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.3696, allocations: 73.61 kB / 1.036 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.3703, allocations: 151.8 kB / 1.036 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.3735, allocations: 2.868 MB / 1.039 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.3743, allocations: 26.95 kB / 1.039 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/0.3743, allocations: 24 kB / 1.039 GB, free: 6.699 MB / 0.9948 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.0005553/0.3749, allocations: 305.8 kB / 1.04 GB, free: 6.391 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.3751, allocations: 103.5 kB / 1.04 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3754, allocations: 87.34 kB / 1.04 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3754, allocations: 8 kB / 1.04 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3754, allocations: 3.938 kB / 1.04 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.3767, allocations: 0.8363 MB / 1.041 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.38, allocations: 1.523 MB / 1.042 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.38, allocations: 4 kB / 1.042 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.3806, allocations: 136.2 kB / 1.042 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.3808, allocations: 44.83 kB / 1.042 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.3808, allocations: 11.94 kB / 1.042 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.3825, allocations: 1.48 MB / 1.044 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.3825, allocations: 7.938 kB / 1.044 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3845, allocations: 1.069 MB / 1.045 GB, free: 0.7461 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.3849, allocations: 147.4 kB / 1.045 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.385, allocations: 12 kB / 1.045 GB, free: 0.5898 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.3857, allocations: 30 kB / 1.045 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.3859, allocations: 47.81 kB / 1.045 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.3859, allocations: 27.98 kB / 1.045 GB, free: 500 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006807/0.3866, allocations: 455 kB / 1.046 GB, free: 48 kB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.3866, allocations: 0 / 1.046 GB, free: 48 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.5764/0.963, allocations: 280.6 kB / 1.046 GB, free: 89.41 MB / 0.9948 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.0003921/0.9634, allocations: 175.5 kB / 1.046 GB, free: 89.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.9647, allocations: 0.7814 MB / 1.047 GB, free: 89.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.9647, allocations: 3.625 kB / 1.047 GB, free: 89.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.9652, allocations: 399.2 kB / 1.047 GB, free: 88.99 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.9673, allocations: 0.4979 MB / 1.048 GB, free: 88.98 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.9697, allocations: 1.748 MB / 1.049 GB, free: 88.22 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.9701, allocations: 0.4911 MB / 1.05 GB, free: 88.12 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0006203/0.9707, allocations: 196.3 kB / 1.05 GB, free: 88.11 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.9709, allocations: 62.5 kB / 1.05 GB, free: 88.11 MB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/0.9709, allocations: 3.312 kB / 1.05 GB, free: 88.11 MB / 0.9948 GB Notification: Performance of Templates: time 0.02904/0.9999, allocations: 17.78 MB / 1.067 GB, free: 86.63 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.603126285015605]