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.001888/0.001888, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002539/0.002539, allocations: 214.8 kB / 22.25 MB, free: 5.262 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.641/1.641, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.424/3.424, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 71.72 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4005, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2637/0.6642, allocations: 196 MB / 1.555 GB, free: 8.773 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.6753, allocations: 5.445 MB / 1.561 GB, free: 3.316 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.6768, allocations: 55.56 kB / 1.561 GB, free: 3.262 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.6786, allocations: 0.5513 MB / 1.561 GB, free: 2.707 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.6838, allocations: 1.929 MB / 1.563 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.6874, allocations: 1.216 MB / 1.564 GB, free: 15.56 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.00475/0.6922, allocations: 3.01 MB / 1.567 GB, free: 12.54 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.6937, allocations: 0.7619 MB / 1.568 GB, free: 11.76 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.6966, allocations: 1.339 MB / 1.569 GB, free: 10.42 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.6991, allocations: 0.9733 MB / 1.57 GB, free: 9.453 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.6993, allocations: 108 kB / 1.57 GB, free: 9.348 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.7023, allocations: 1.177 MB / 1.571 GB, free: 8.168 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006394/0.7029, allocations: 478.6 kB / 1.572 GB, free: 7.699 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008574/0.7038, allocations: 0.5485 MB / 1.572 GB, free: 7.148 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.7077, allocations: 2.098 MB / 1.575 GB, free: 5.043 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7077, allocations: 4 kB / 1.575 GB, free: 5.039 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7077, allocations: 0 / 1.575 GB, free: 5.039 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.7078, allocations: 0 / 1.575 GB, free: 5.039 MB / 1.264 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.002826/0.7106, allocations: 1.462 MB / 1.576 GB, free: 3.539 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.7106, allocations: 12.03 kB / 1.576 GB, free: 3.527 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.7128, allocations: 330.8 kB / 1.576 GB, free: 3.203 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.7146, allocations: 0.7877 MB / 1.577 GB, free: 2.387 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.7147, allocations: 66 kB / 1.577 GB, free: 2.324 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.7149, allocations: 84 kB / 1.577 GB, free: 2.242 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.7169, allocations: 1.357 MB / 1.579 GB, free: 0.7695 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.7169, allocations: 0 / 1.579 GB, free: 0.7695 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.717, allocations: 43.94 kB / 1.579 GB, free: 0.7266 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.7171, allocations: 37.92 kB / 1.579 GB, free: 0.6875 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.7187, allocations: 0.8316 MB / 1.579 GB, free: 15.85 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.7242, allocations: 2.379 MB / 1.582 GB, free: 13.43 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.7251, allocations: 477 kB / 1.582 GB, free: 12.96 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.7256, allocations: 286.5 kB / 1.582 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.7258, allocations: 24.41 kB / 1.582 GB, free: 12.65 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.7258, allocations: 39 kB / 1.583 GB, free: 12.61 MB / 1.279 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.7258, allocations: 4 kB / 1.583 GB, free: 12.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=49): time 0.00378/0.7296, allocations: 1.652 MB / 1.584 GB, free: 10.91 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.7296, allocations: 59.84 kB / 1.584 GB, free: 10.84 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.7305, allocations: 0.6565 MB / 1.585 GB, free: 10.18 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.7306, allocations: 37.7 kB / 1.585 GB, free: 10.13 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.731, allocations: 500 kB / 1.585 GB, free: 9.637 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.7312, allocations: 182.4 kB / 1.586 GB, free: 9.457 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.7314, allocations: 114.3 kB / 1.586 GB, free: 9.336 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.7316, allocations: 378.8 kB / 1.586 GB, free: 8.957 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.732, allocations: 245.2 kB / 1.586 GB, free: 8.719 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/0.7327, allocations: 487.4 kB / 1.587 GB, free: 8.168 MB / 1.279 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.00398/0.7367, allocations: 1.471 MB / 1.588 GB, free: 6.652 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.7367, allocations: 4 kB / 1.588 GB, free: 6.648 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001518/0.7382, allocations: 0.776 MB / 1.589 GB, free: 5.859 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.7383, allocations: 8 kB / 1.589 GB, free: 5.852 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7383, allocations: 7.984 kB / 1.589 GB, free: 5.844 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.7384, allocations: 65.62 kB / 1.589 GB, free: 5.773 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.7392, allocations: 147.8 kB / 1.589 GB, free: 5.629 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.7421, allocations: 2.872 MB / 1.592 GB, free: 2.551 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.7429, allocations: 30.02 kB / 1.592 GB, free: 2.523 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.743, allocations: 23.98 kB / 1.592 GB, free: 2.5 MB / 1.279 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.0005986/0.7436, allocations: 297.6 kB / 1.592 GB, free: 2.199 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7437, allocations: 87.45 kB / 1.592 GB, free: 2.113 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.7439, allocations: 95.52 kB / 1.592 GB, free: 2.016 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7439, allocations: 4 kB / 1.592 GB, free: 2.012 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.7439, allocations: 0 / 1.592 GB, free: 2.012 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.7452, allocations: 0.8309 MB / 1.593 GB, free: 1.094 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.7483, allocations: 1.534 MB / 1.595 GB, free: 15.48 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7483, allocations: 7.984 kB / 1.595 GB, free: 15.47 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.749, allocations: 128.2 kB / 1.595 GB, free: 15.35 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.7491, allocations: 40.83 kB / 1.595 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.7492, allocations: 19.94 kB / 1.595 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.7507, allocations: 1.468 MB / 1.596 GB, free: 13.71 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7508, allocations: 7.938 kB / 1.596 GB, free: 13.71 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.7526, allocations: 1.066 MB / 1.597 GB, free: 12.59 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.7531, allocations: 143.5 kB / 1.598 GB, free: 12.45 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.7532, allocations: 19.98 kB / 1.598 GB, free: 12.43 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.7538, allocations: 29.81 kB / 1.598 GB, free: 12.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.754, allocations: 47.81 kB / 1.598 GB, free: 12.35 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.754, allocations: 27.98 kB / 1.598 GB, free: 12.32 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006689/0.7547, allocations: 455 kB / 1.598 GB, free: 11.89 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7547, allocations: 0 / 1.598 GB, free: 11.89 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009443/0.7557, allocations: 275.9 kB / 1.598 GB, free: 11.62 MB / 1.295 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.0003544/0.756, allocations: 167.1 kB / 1.599 GB, free: 11.44 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.7574, allocations: 0.7878 MB / 1.599 GB, free: 10.62 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.7574, allocations: 4 kB / 1.599 GB, free: 10.62 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.7581, allocations: 387.8 kB / 1.6 GB, free: 10.23 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.7603, allocations: 0.4898 MB / 1.6 GB, free: 9.754 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.7633, allocations: 1.82 MB / 1.602 GB, free: 7.859 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.7639, allocations: 0.4886 MB / 1.602 GB, free: 7.336 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000726/0.7646, allocations: 194.6 kB / 1.603 GB, free: 7.141 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.7648, allocations: 67.44 kB / 1.603 GB, free: 7.074 MB / 1.295 GB Notification: Performance of SimCode: time 5.51e-07/0.7648, allocations: 0 / 1.603 GB, free: 7.074 MB / 1.295 GB Notification: Performance of Templates: time 0.8283/1.593, allocations: 19.36 MB / 1.622 GB, free: 57.09 MB / 1.295 GB " [Timeout remaining time 298] 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: 11.23072943277657]