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.001801/0.001801, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002201/0.002201, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.003249/0.003249, allocations: 64.34 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3256, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2341/0.5596, allocations: 196 MB / 1.519 GB, free: 12.2 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009681/0.5693, allocations: 5.446 MB / 1.524 GB, free: 6.742 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5703, allocations: 51.56 kB / 1.524 GB, free: 6.691 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.5717, allocations: 0.5552 MB / 1.524 GB, free: 6.133 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.5763, allocations: 1.933 MB / 1.526 GB, free: 4.191 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.5794, allocations: 1.238 MB / 1.528 GB, free: 2.961 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.5834, allocations: 3.026 MB / 1.53 GB, free: 15.92 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.5846, allocations: 0.7736 MB / 1.531 GB, free: 15.13 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.5871, allocations: 1.343 MB / 1.533 GB, free: 13.78 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.5892, allocations: 1.001 MB / 1.534 GB, free: 12.79 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.5894, allocations: 108 kB / 1.534 GB, free: 12.68 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.5918, allocations: 1.188 MB / 1.535 GB, free: 11.49 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005226/0.5924, allocations: 474.6 kB / 1.535 GB, free: 11.03 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.593, allocations: 0.5447 MB / 1.536 GB, free: 10.48 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.5959, allocations: 2.11 MB / 1.538 GB, free: 8.363 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5959, allocations: 0 / 1.538 GB, free: 8.363 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5959, allocations: 4 kB / 1.538 GB, free: 8.359 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.5959, allocations: 0 / 1.538 GB, free: 8.359 MB / 1.232 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.002576/0.5985, allocations: 1.465 MB / 1.539 GB, free: 6.855 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5985, allocations: 8.031 kB / 1.539 GB, free: 6.848 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.6006, allocations: 326.9 kB / 1.54 GB, free: 6.527 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.6023, allocations: 0.7915 MB / 1.54 GB, free: 5.707 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.6024, allocations: 66 kB / 1.54 GB, free: 5.645 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.6025, allocations: 84 kB / 1.541 GB, free: 5.562 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.6045, allocations: 1.361 MB / 1.542 GB, free: 4.082 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.6045, allocations: 4 kB / 1.542 GB, free: 4.078 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.6046, allocations: 36 kB / 1.542 GB, free: 4.043 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.6046, allocations: 37.92 kB / 1.542 GB, free: 4.004 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.6062, allocations: 0.8275 MB / 1.543 GB, free: 3.18 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.6113, allocations: 2.39 MB / 1.545 GB, free: 0.7461 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.6121, allocations: 462.3 kB / 1.546 GB, free: 296 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.6126, allocations: 285.9 kB / 1.546 GB, free: 4 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.6127, allocations: 20.48 kB / 1.546 GB, free: 15.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.6128, allocations: 50.94 kB / 1.546 GB, free: 15.92 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.6128, allocations: 0 / 1.546 GB, free: 15.92 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003632/0.6164, allocations: 1.648 MB / 1.547 GB, free: 14.24 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.6164, allocations: 55.84 kB / 1.548 GB, free: 14.17 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.6173, allocations: 0.6526 MB / 1.548 GB, free: 13.51 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.6173, allocations: 37.7 kB / 1.548 GB, free: 13.47 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.6177, allocations: 0.496 MB / 1.549 GB, free: 12.96 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.6179, allocations: 182.4 kB / 1.549 GB, free: 12.79 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.6181, allocations: 118.2 kB / 1.549 GB, free: 12.66 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6183, allocations: 382.8 kB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.6188, allocations: 245.2 kB / 1.55 GB, free: 12.04 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.6194, allocations: 483.4 kB / 1.55 GB, free: 11.49 MB / 1.248 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.003963/0.6234, allocations: 1.462 MB / 1.551 GB, free: 9.984 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6234, allocations: 0 / 1.551 GB, free: 9.984 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001407/0.6248, allocations: 0.7797 MB / 1.552 GB, free: 9.195 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6248, allocations: 4 kB / 1.552 GB, free: 9.191 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6248, allocations: 7.984 kB / 1.552 GB, free: 9.184 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.625, allocations: 73.59 kB / 1.552 GB, free: 9.105 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.6257, allocations: 156.1 kB / 1.552 GB, free: 8.953 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.6285, allocations: 2.861 MB / 1.555 GB, free: 5.887 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.6293, allocations: 29.3 kB / 1.555 GB, free: 5.859 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.6293, allocations: 20 kB / 1.555 GB, free: 5.84 MB / 1.248 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.0004962/0.6298, allocations: 305.8 kB / 1.556 GB, free: 5.531 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.63, allocations: 87.42 kB / 1.556 GB, free: 5.445 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.6301, allocations: 95.34 kB / 1.556 GB, free: 5.348 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6302, allocations: 4 kB / 1.556 GB, free: 5.344 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.6302, allocations: 0 / 1.556 GB, free: 5.344 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.6313, allocations: 0.831 MB / 1.557 GB, free: 4.422 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.6342, allocations: 1.529 MB / 1.558 GB, free: 2.812 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6342, allocations: 4 kB / 1.558 GB, free: 2.809 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.6349, allocations: 140.1 kB / 1.558 GB, free: 2.672 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-05/0.635, allocations: 40.83 kB / 1.558 GB, free: 2.629 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.635, allocations: 15.94 kB / 1.558 GB, free: 2.613 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.6364, allocations: 1.461 MB / 1.56 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.6364, allocations: 4 kB / 1.56 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.6381, allocations: 1.07 MB / 1.561 GB, free: 15.92 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.6385, allocations: 151.4 kB / 1.561 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.6386, allocations: 11.94 kB / 1.561 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.6393, allocations: 33.8 kB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6394, allocations: 43.88 kB / 1.561 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.6394, allocations: 27.98 kB / 1.561 GB, free: 15.66 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005788/0.64, allocations: 451 kB / 1.561 GB, free: 15.22 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.64, allocations: 4.062 kB / 1.561 GB, free: 15.22 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000883/0.6409, allocations: 279.9 kB / 1.562 GB, free: 14.95 MB / 1.264 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.0003145/0.6412, allocations: 175.5 kB / 1.562 GB, free: 14.77 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.6426, allocations: 0.788 MB / 1.563 GB, free: 13.95 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6426, allocations: 0 / 1.563 GB, free: 13.95 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.6432, allocations: 399.8 kB / 1.563 GB, free: 13.55 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.6454, allocations: 499 kB / 1.563 GB, free: 13.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.6483, allocations: 1.808 MB / 1.565 GB, free: 11.2 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.6489, allocations: 0.4925 MB / 1.566 GB, free: 10.67 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006696/0.6496, allocations: 198.5 kB / 1.566 GB, free: 10.47 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.6498, allocations: 71.36 kB / 1.566 GB, free: 10.4 MB / 1.264 GB Notification: Performance of SimCode: time 5.91e-07/0.6498, allocations: 0 / 1.566 GB, free: 10.4 MB / 1.264 GB Notification: Performance of Templates: time 0.03293/0.6827, allocations: 19.57 MB / 1.585 GB, free: 7.262 MB / 1.279 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 -s gbode -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/jenkins1/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.531430218994501]