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.001935/0.001935, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001662/0.001662, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.00198/0.00198, allocations: 72.62 kB / 1.155 GB, free: 25.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 176.1 MB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2517/0.5995, allocations: 196 MB / 1.519 GB, free: 12.06 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.6108, allocations: 5.441 MB / 1.524 GB, free: 6.617 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.6124, allocations: 51.56 kB / 1.524 GB, free: 6.566 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.6143, allocations: 0.5591 MB / 1.525 GB, free: 6.004 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.62, allocations: 1.933 MB / 1.526 GB, free: 4.066 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.6235, allocations: 1.214 MB / 1.528 GB, free: 2.855 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004812/0.6283, allocations: 3.002 MB / 1.531 GB, free: 15.84 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.6298, allocations: 0.7619 MB / 1.531 GB, free: 15.06 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.6328, allocations: 1.351 MB / 1.533 GB, free: 13.71 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.6355, allocations: 0.9603 MB / 1.534 GB, free: 12.75 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.6357, allocations: 108 kB / 1.534 GB, free: 12.65 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.6386, allocations: 1.184 MB / 1.535 GB, free: 11.46 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005564/0.6391, allocations: 474.5 kB / 1.535 GB, free: 11 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007748/0.6399, allocations: 0.5408 MB / 1.536 GB, free: 10.45 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.6432, allocations: 2.11 MB / 1.538 GB, free: 8.336 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6432, allocations: 0 / 1.538 GB, free: 8.336 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6432, allocations: 3.938 kB / 1.538 GB, free: 8.332 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.6433, allocations: 0 / 1.538 GB, free: 8.332 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.002563/0.6458, allocations: 1.473 MB / 1.539 GB, free: 6.82 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6459, allocations: 8.031 kB / 1.539 GB, free: 6.812 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.6479, allocations: 322.9 kB / 1.54 GB, free: 6.496 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.6496, allocations: 0.7916 MB / 1.54 GB, free: 5.676 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.6496, allocations: 61.98 kB / 1.54 GB, free: 5.617 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.6498, allocations: 91.98 kB / 1.541 GB, free: 5.527 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.6518, allocations: 1.361 MB / 1.542 GB, free: 4.047 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.6518, allocations: 0 / 1.542 GB, free: 4.047 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.6519, allocations: 40 kB / 1.542 GB, free: 4.008 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.6519, allocations: 33.94 kB / 1.542 GB, free: 3.973 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.6534, allocations: 0.8314 MB / 1.543 GB, free: 3.145 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.6586, allocations: 2.39 MB / 1.545 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.6594, allocations: 468.4 kB / 1.546 GB, free: 252 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.6599, allocations: 278 kB / 1.546 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.6601, allocations: 24.42 kB / 1.546 GB, free: 15.94 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.6601, allocations: 39 kB / 1.546 GB, free: 15.89 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/0.6601, allocations: 0 / 1.546 GB, free: 15.89 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003757/0.6639, allocations: 1.656 MB / 1.547 GB, free: 14.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.664, allocations: 55.84 kB / 1.547 GB, free: 14.14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.6648, allocations: 0.6487 MB / 1.548 GB, free: 13.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.6649, allocations: 37.7 kB / 1.548 GB, free: 13.44 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.6653, allocations: 0.5 MB / 1.549 GB, free: 12.93 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.6655, allocations: 174.4 kB / 1.549 GB, free: 12.76 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.6658, allocations: 126.2 kB / 1.549 GB, free: 12.62 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.666, allocations: 374.8 kB / 1.549 GB, free: 12.25 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.6664, allocations: 249.2 kB / 1.55 GB, free: 12.01 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.6671, allocations: 483.4 kB / 1.55 GB, free: 11.46 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.003759/0.6708, allocations: 1.463 MB / 1.551 GB, free: 9.953 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6708, allocations: 4 kB / 1.551 GB, free: 9.949 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001452/0.6723, allocations: 0.7757 MB / 1.552 GB, free: 9.164 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6723, allocations: 11.94 kB / 1.552 GB, free: 9.152 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6723, allocations: 4.406 kB / 1.552 GB, free: 9.148 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.6725, allocations: 69.67 kB / 1.552 GB, free: 9.074 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.6732, allocations: 147.8 kB / 1.552 GB, free: 8.93 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.676, allocations: 2.865 MB / 1.555 GB, free: 5.859 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.6768, allocations: 25.86 kB / 1.555 GB, free: 5.836 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.6768, allocations: 28 kB / 1.555 GB, free: 5.809 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.0005552/0.6774, allocations: 306.8 kB / 1.556 GB, free: 5.5 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6775, allocations: 87.42 kB / 1.556 GB, free: 5.414 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.6778, allocations: 91.28 kB / 1.556 GB, free: 5.32 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6778, allocations: 8.094 kB / 1.556 GB, free: 5.312 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6778, allocations: 3.984 kB / 1.556 GB, free: 5.309 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.6789, allocations: 0.835 MB / 1.557 GB, free: 4.383 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.6818, allocations: 1.533 MB / 1.558 GB, free: 2.77 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.6818, allocations: 8 kB / 1.558 GB, free: 2.762 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.6825, allocations: 127.8 kB / 1.558 GB, free: 2.637 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.6826, allocations: 40.83 kB / 1.558 GB, free: 2.594 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.6826, allocations: 19.94 kB / 1.558 GB, free: 2.574 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.684, allocations: 1.461 MB / 1.56 GB, free: 1.012 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.684, allocations: 4 kB / 1.56 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.6857, allocations: 1.062 MB / 1.561 GB, free: 15.89 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.6862, allocations: 147.4 kB / 1.561 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.6863, allocations: 16.12 kB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.6869, allocations: 38 kB / 1.561 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.687, allocations: 39.88 kB / 1.561 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.6871, allocations: 31.98 kB / 1.561 GB, free: 15.62 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005958/0.6877, allocations: 451 kB / 1.561 GB, free: 15.19 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6877, allocations: 0 / 1.561 GB, free: 15.19 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008984/0.6886, allocations: 275.9 kB / 1.562 GB, free: 14.92 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.000346/0.6889, allocations: 183.1 kB / 1.562 GB, free: 14.73 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.6903, allocations: 0.7847 MB / 1.563 GB, free: 13.92 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6903, allocations: 8.25 kB / 1.563 GB, free: 13.91 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.6909, allocations: 390.1 kB / 1.563 GB, free: 13.52 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.6931, allocations: 0.4931 MB / 1.563 GB, free: 13.04 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.6962, allocations: 1.868 MB / 1.565 GB, free: 11.09 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.6968, allocations: 0.4964 MB / 1.566 GB, free: 10.56 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.697, allocations: 59.44 kB / 1.566 GB, free: 10.5 MB / 1.264 GB Notification: Performance of SimCode: time 7.11e-07/0.697, allocations: 0 / 1.566 GB, free: 10.5 MB / 1.264 GB Notification: Performance of Templates: time 0.02737/0.7244, allocations: 20.95 MB / 1.586 GB, free: 5.648 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 -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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1] [Calling sys.exit(0), Time elapsed: 13.96708061802201]