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.001057/0.001057, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008521/0.0008521, allocations: 178.2 kB / 23.21 MB, free: 1.344 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 0.8551/0.8551, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744/1.744, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.548e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6759/0.676, allocations: 195.7 MB / 1.192 GB, free: 7.555 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00878/0.6848, allocations: 5.455 MB / 1.197 GB, free: 3.852 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.6864, allocations: 53.19 kB / 1.197 GB, free: 3.824 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.6878, allocations: 0.5611 MB / 1.198 GB, free: 3.52 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.6924, allocations: 1.977 MB / 1.2 GB, free: 2.414 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.6951, allocations: 1.249 MB / 1.201 GB, free: 1.746 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.003991/0.6991, allocations: 3.028 MB / 1.204 GB, free: 336 kB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7002, allocations: 0.7662 MB / 1.205 GB, free: 15.95 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.7031, allocations: 1.671 MB / 1.206 GB, free: 15.2 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.705, allocations: 0.8718 MB / 1.207 GB, free: 14.93 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.7052, allocations: 108.8 kB / 1.207 GB, free: 14.93 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.7077, allocations: 1.198 MB / 1.209 GB, free: 14.45 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0004658/0.7082, allocations: 0.4922 MB / 1.209 GB, free: 14.1 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0007089/0.7089, allocations: 481.5 kB / 1.21 GB, free: 13.87 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.7119, allocations: 2.17 MB / 1.212 GB, free: 12.48 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7119, allocations: 0 / 1.212 GB, free: 12.48 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7119, allocations: 0 / 1.212 GB, free: 12.48 MB / 1.057 GB Notification: Performance of Transformations before backend: time 4.48e-05/0.7119, allocations: 1.625 kB / 1.212 GB, free: 12.48 MB / 1.057 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.002105/0.714, allocations: 1.445 MB / 1.213 GB, free: 11.41 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7141, allocations: 10.31 kB / 1.213 GB, free: 11.41 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.7153, allocations: 330.6 kB / 1.213 GB, free: 11.26 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.7163, allocations: 0.7902 MB / 1.214 GB, free: 10.68 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.7164, allocations: 65.81 kB / 1.214 GB, free: 10.64 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.7165, allocations: 91.61 kB / 1.214 GB, free: 10.61 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.7177, allocations: 1.365 MB / 1.216 GB, free: 9.531 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.7177, allocations: 0 / 1.216 GB, free: 9.531 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.7178, allocations: 36.12 kB / 1.216 GB, free: 9.504 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.7178, allocations: 36.09 kB / 1.216 GB, free: 9.5 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.7187, allocations: 0.8245 MB / 1.217 GB, free: 9.098 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.7218, allocations: 2.39 MB / 1.219 GB, free: 7.555 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.7224, allocations: 472.1 kB / 1.219 GB, free: 7.301 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.7226, allocations: 280.7 kB / 1.22 GB, free: 7.16 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.7228, allocations: 27.23 kB / 1.22 GB, free: 7.152 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7228, allocations: 41.94 kB / 1.22 GB, free: 7.105 MB / 1.057 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.7228, allocations: 0 / 1.22 GB, free: 7.105 MB / 1.057 GB Notification: Performance of matching and sorting (n=49): time 0.002391/0.7252, allocations: 1.653 MB / 1.221 GB, free: 6.137 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.7252, allocations: 57.38 kB / 1.221 GB, free: 6.074 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.7258, allocations: 0.6508 MB / 1.222 GB, free: 5.688 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.7258, allocations: 39.17 kB / 1.222 GB, free: 5.648 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.7261, allocations: 494.7 kB / 1.222 GB, free: 5.215 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7262, allocations: 175.4 kB / 1.223 GB, free: 5.062 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.7263, allocations: 125 kB / 1.223 GB, free: 4.984 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7264, allocations: 379 kB / 1.223 GB, free: 4.621 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.7267, allocations: 247.6 kB / 1.223 GB, free: 4.496 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.7271, allocations: 482.8 kB / 1.224 GB, free: 4.102 MB / 1.057 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.002059/0.7291, allocations: 1.46 MB / 1.225 GB, free: 3.312 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7292, allocations: 0 / 1.225 GB, free: 3.312 MB / 1.057 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008772/0.73, allocations: 0.7798 MB / 1.226 GB, free: 2.902 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.73, allocations: 4.906 kB / 1.226 GB, free: 2.902 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7301, allocations: 3.141 kB / 1.226 GB, free: 2.902 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.7302, allocations: 76.38 kB / 1.226 GB, free: 2.855 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.7305, allocations: 148 kB / 1.226 GB, free: 2.82 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.7322, allocations: 2.865 MB / 1.229 GB, free: 84 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.7327, allocations: 39.47 kB / 1.229 GB, free: 64 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.7328, allocations: 24 kB / 1.229 GB, free: 56 kB / 1.057 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.0004536/0.7332, allocations: 297.6 kB / 1.229 GB, free: 15.83 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.7333, allocations: 83.17 kB / 1.229 GB, free: 15.79 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.001e-05/0.7334, allocations: 84.75 kB / 1.23 GB, free: 15.72 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7334, allocations: 5.156 kB / 1.23 GB, free: 15.72 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.7334, allocations: 6.875 kB / 1.23 GB, free: 15.72 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006836/0.7341, allocations: 0.8372 MB / 1.23 GB, free: 15.04 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.7359, allocations: 1.545 MB / 1.232 GB, free: 14 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7359, allocations: 6.812 kB / 1.232 GB, free: 14 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.7362, allocations: 123.7 kB / 1.232 GB, free: 13.97 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-05/0.7362, allocations: 38.02 kB / 1.232 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.7363, allocations: 15.59 kB / 1.232 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008066/0.7371, allocations: 1.47 MB / 1.233 GB, free: 12.56 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7371, allocations: 8.938 kB / 1.233 GB, free: 12.55 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7381, allocations: 1.054 MB / 1.234 GB, free: 11.66 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.7383, allocations: 147.4 kB / 1.235 GB, free: 11.51 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.7384, allocations: 15.98 kB / 1.235 GB, free: 11.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.7387, allocations: 34.17 kB / 1.235 GB, free: 11.46 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.7388, allocations: 51.86 kB / 1.235 GB, free: 11.41 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.7388, allocations: 31.98 kB / 1.235 GB, free: 11.38 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003752/0.7392, allocations: 451 kB / 1.235 GB, free: 10.95 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.7392, allocations: 0 / 1.235 GB, free: 10.95 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007425/0.7399, allocations: 272 kB / 1.235 GB, free: 10.68 MB / 1.073 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.0002947/0.7402, allocations: 177.8 kB / 1.236 GB, free: 10.5 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0008924/0.7411, allocations: 0.7804 MB / 1.236 GB, free: 9.695 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7411, allocations: 0 / 1.236 GB, free: 9.695 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.7415, allocations: 395.5 kB / 1.237 GB, free: 9.297 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.7427, allocations: 497.5 kB / 1.237 GB, free: 8.84 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.7448, allocations: 1.788 MB / 1.239 GB, free: 6.973 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.7451, allocations: 0.4924 MB / 1.239 GB, free: 6.449 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.7453, allocations: 64.5 kB / 1.24 GB, free: 6.387 MB / 1.073 GB Notification: Performance of SimCode: time 1.233e-06/0.7453, allocations: 0 / 1.24 GB, free: 6.387 MB / 1.073 GB Notification: Performance of Templates: time 0.01991/0.7652, allocations: 20.94 MB / 1.26 GB, free: 1.539 MB / 1.089 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/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] "" 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: 9.820855133235455]