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.001406/0.001406, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001816/0.001816, allocations: 215.7 kB / 22.99 MB, free: 4.945 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.396/3.396, allocations: 0.5107 GB / 0.8166 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.002985/0.002985, allocations: 65.86 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4023, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2665/0.6688, allocations: 196 MB / 1.556 GB, free: 8.793 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.6798, allocations: 5.449 MB / 1.561 GB, free: 3.332 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.6814, allocations: 51.56 kB / 1.561 GB, free: 3.281 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.6833, allocations: 0.5552 MB / 1.562 GB, free: 2.723 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.6887, allocations: 1.929 MB / 1.564 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.6921, allocations: 1.219 MB / 1.565 GB, free: 15.57 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004335/0.6965, allocations: 3.007 MB / 1.568 GB, free: 12.56 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.6978, allocations: 0.7658 MB / 1.569 GB, free: 11.77 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.7004, allocations: 1.347 MB / 1.57 GB, free: 10.42 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.7027, allocations: 0.952 MB / 1.571 GB, free: 9.477 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.7029, allocations: 108 kB / 1.571 GB, free: 9.371 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.7055, allocations: 1.173 MB / 1.572 GB, free: 8.195 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005337/0.7061, allocations: 482.5 kB / 1.573 GB, free: 7.723 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.000696/0.7068, allocations: 0.5447 MB / 1.573 GB, free: 7.176 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.7098, allocations: 2.11 MB / 1.575 GB, free: 5.059 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7099, allocations: 0 / 1.575 GB, free: 5.059 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7099, allocations: 0 / 1.575 GB, free: 5.059 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.7099, allocations: 4 kB / 1.575 GB, free: 5.055 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.002591/0.7125, allocations: 1.465 MB / 1.577 GB, free: 3.551 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7125, allocations: 8.031 kB / 1.577 GB, free: 3.543 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.7144, allocations: 318.9 kB / 1.577 GB, free: 3.23 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.7161, allocations: 0.7877 MB / 1.578 GB, free: 2.414 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.7161, allocations: 66 kB / 1.578 GB, free: 2.352 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7163, allocations: 95.92 kB / 1.578 GB, free: 2.258 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.7182, allocations: 1.361 MB / 1.579 GB, free: 0.7812 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.7182, allocations: 4 kB / 1.579 GB, free: 0.7773 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.7183, allocations: 36 kB / 1.579 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.7183, allocations: 37.94 kB / 1.579 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.7198, allocations: 0.8315 MB / 1.58 GB, free: 15.87 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.7249, allocations: 2.39 MB / 1.583 GB, free: 13.43 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.7257, allocations: 469.5 kB / 1.583 GB, free: 12.97 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.7262, allocations: 289 kB / 1.583 GB, free: 12.69 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.7263, allocations: 24.42 kB / 1.583 GB, free: 12.66 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.7263, allocations: 43 kB / 1.583 GB, free: 12.61 MB / 1.279 GB Notification: Performance of pre-optimization done (n=47): time 3.457e-06/0.7264, allocations: 0 / 1.583 GB, free: 12.61 MB / 1.279 GB Notification: Performance of matching and sorting (n=49): time 0.003591/0.7299, allocations: 1.648 MB / 1.585 GB, free: 10.92 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.73, allocations: 59.84 kB / 1.585 GB, free: 10.85 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.7308, allocations: 0.6487 MB / 1.586 GB, free: 10.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.7309, allocations: 41.7 kB / 1.586 GB, free: 10.15 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.7313, allocations: 0.4921 MB / 1.586 GB, free: 9.652 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7314, allocations: 182.4 kB / 1.586 GB, free: 9.473 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.7316, allocations: 118.3 kB / 1.586 GB, free: 9.348 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.7318, allocations: 382.8 kB / 1.587 GB, free: 8.965 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.7323, allocations: 245.2 kB / 1.587 GB, free: 8.727 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.7329, allocations: 483.4 kB / 1.587 GB, free: 8.18 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.003716/0.7366, allocations: 1.462 MB / 1.589 GB, free: 6.672 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7366, allocations: 0 / 1.589 GB, free: 6.672 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001393/0.738, allocations: 0.7796 MB / 1.59 GB, free: 5.879 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.738, allocations: 9.656 kB / 1.59 GB, free: 5.871 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7381, allocations: 4 kB / 1.59 GB, free: 5.867 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.7382, allocations: 70.08 kB / 1.59 GB, free: 5.793 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.739, allocations: 155.8 kB / 1.59 GB, free: 5.641 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.7421, allocations: 2.86 MB / 1.593 GB, free: 2.574 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/0.743, allocations: 34.08 kB / 1.593 GB, free: 2.543 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.743, allocations: 23.94 kB / 1.593 GB, free: 2.52 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.0005914/0.7436, allocations: 301.6 kB / 1.593 GB, free: 2.215 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.7438, allocations: 83.47 kB / 1.593 GB, free: 2.133 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.744, allocations: 99.42 kB / 1.593 GB, free: 2.031 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.744, allocations: 4 kB / 1.593 GB, free: 2.027 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.744, allocations: 0 / 1.593 GB, free: 2.027 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/0.7454, allocations: 0.8349 MB / 1.594 GB, free: 1.105 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.7486, allocations: 1.53 MB / 1.595 GB, free: 15.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7486, allocations: 4 kB / 1.596 GB, free: 15.49 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.7492, allocations: 135.8 kB / 1.596 GB, free: 15.36 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.7494, allocations: 40.78 kB / 1.596 GB, free: 15.32 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.7494, allocations: 15.92 kB / 1.596 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.7508, allocations: 1.464 MB / 1.597 GB, free: 13.73 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7508, allocations: 4.094 kB / 1.597 GB, free: 13.73 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.7526, allocations: 1.07 MB / 1.598 GB, free: 12.61 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.7531, allocations: 147.5 kB / 1.598 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.7532, allocations: 12 kB / 1.598 GB, free: 12.45 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.7538, allocations: 30.2 kB / 1.598 GB, free: 12.42 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7539, allocations: 47.94 kB / 1.598 GB, free: 12.38 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.754, allocations: 28.12 kB / 1.598 GB, free: 12.35 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006596/0.7547, allocations: 455 kB / 1.599 GB, free: 11.91 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7547, allocations: 0 / 1.599 GB, free: 11.91 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009261/0.7556, allocations: 275.9 kB / 1.599 GB, free: 11.64 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.0003624/0.7559, allocations: 185.4 kB / 1.599 GB, free: 11.45 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.7574, allocations: 0.7799 MB / 1.6 GB, free: 10.64 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.7574, allocations: 0.8125 kB / 1.6 GB, free: 10.64 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.758, allocations: 402.6 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.002215/0.7602, allocations: 494.1 kB / 1.601 GB, free: 9.762 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.7635, allocations: 1.865 MB / 1.603 GB, free: 7.816 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.7641, allocations: 0.4885 MB / 1.603 GB, free: 7.293 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.7643, allocations: 67.44 kB / 1.603 GB, free: 7.227 MB / 1.295 GB Notification: Performance of SimCode: time 5.41e-07/0.7643, allocations: 0 / 1.603 GB, free: 7.227 MB / 1.295 GB Notification: Performance of Templates: time 0.7109/1.475, allocations: 20.95 MB / 1.624 GB, free: 243.9 MB / 1.295 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/jenkins1/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] "" 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: 15.657074580900371]