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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 104.5 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.191/3.191, allocations: 496.1 MB / 0.7801 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002044/0.002044, allocations: 71 kB / 1.133 GB, free: 34.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4186, allocations: 173.7 MB / 1.303 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2755/0.6942, allocations: 222 MB / 1.52 GB, free: 3.707 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.706, allocations: 5.749 MB / 1.525 GB, free: 13.95 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.708, allocations: 39.75 kB / 1.525 GB, free: 13.91 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.71, allocations: 0.6098 MB / 1.526 GB, free: 13.3 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.7158, allocations: 1.914 MB / 1.528 GB, free: 11.38 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.7194, allocations: 1.209 MB / 1.529 GB, free: 10.17 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00483/0.7242, allocations: 2.942 MB / 1.532 GB, free: 7.223 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.7257, allocations: 0.8664 MB / 1.533 GB, free: 6.332 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.7288, allocations: 1.304 MB / 1.534 GB, free: 5.023 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.7316, allocations: 1.002 MB / 1.535 GB, free: 4.031 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.7318, allocations: 115.9 kB / 1.535 GB, free: 3.918 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.7354, allocations: 1.5 MB / 1.536 GB, free: 2.414 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006038/0.736, allocations: 474.6 kB / 1.537 GB, free: 1.949 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.737, allocations: 0.6533 MB / 1.537 GB, free: 1.293 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.7411, allocations: 2.137 MB / 1.54 GB, free: 15.15 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7411, allocations: 0 / 1.54 GB, free: 15.15 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7411, allocations: 3.938 kB / 1.54 GB, free: 15.14 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.7412, allocations: 4 kB / 1.54 GB, free: 15.14 MB / 1.248 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.003012/0.7442, allocations: 1.533 MB / 1.541 GB, free: 13.55 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7442, allocations: 12.03 kB / 1.541 GB, free: 13.54 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.7463, allocations: 326.9 kB / 1.541 GB, free: 13.22 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.748, allocations: 0.8599 MB / 1.542 GB, free: 12.32 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.7481, allocations: 66 kB / 1.542 GB, free: 12.25 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.7482, allocations: 84 kB / 1.542 GB, free: 12.17 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.7501, allocations: 0.9092 MB / 1.543 GB, free: 11.26 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.7501, allocations: 3.938 kB / 1.543 GB, free: 11.25 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.7502, allocations: 43.94 kB / 1.543 GB, free: 11.21 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.7503, allocations: 37.92 kB / 1.543 GB, free: 11.17 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.7519, allocations: 0.8315 MB / 1.544 GB, free: 10.34 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006408/0.7583, allocations: 3.68 MB / 1.548 GB, free: 6.402 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.7592, allocations: 480.3 kB / 1.548 GB, free: 5.926 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.7597, allocations: 278 kB / 1.548 GB, free: 5.652 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.76, allocations: 101.5 kB / 1.549 GB, free: 5.531 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.76, allocations: 54.88 kB / 1.549 GB, free: 5.469 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 4.529e-06/0.76, allocations: 4 kB / 1.549 GB, free: 5.465 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.004301/0.7643, allocations: 1.881 MB / 1.55 GB, free: 3.488 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.7644, allocations: 63.83 kB / 1.551 GB, free: 3.414 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.7656, allocations: 0.802 MB / 1.551 GB, free: 2.605 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.7657, allocations: 37.7 kB / 1.551 GB, free: 2.562 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.7661, allocations: 488.1 kB / 1.552 GB, free: 2.082 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.7663, allocations: 182.5 kB / 1.552 GB, free: 1.902 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.7665, allocations: 118.2 kB / 1.552 GB, free: 1.781 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7667, allocations: 334 kB / 1.552 GB, free: 1.449 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.7672, allocations: 245.2 kB / 1.553 GB, free: 1.211 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.7678, allocations: 384.6 kB / 1.553 GB, free: 0.7852 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.003988/0.7718, allocations: 1.537 MB / 1.554 GB, free: 15.18 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7718, allocations: 4 kB / 1.554 GB, free: 15.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001675/0.7734, allocations: 0.7968 MB / 1.555 GB, free: 14.37 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.7735, allocations: 8 kB / 1.555 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7735, allocations: 0 / 1.555 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.7737, allocations: 69.67 kB / 1.555 GB, free: 14.29 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.7744, allocations: 155.8 kB / 1.555 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.7775, allocations: 3.119 MB / 1.559 GB, free: 10.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.7785, allocations: 37.78 kB / 1.559 GB, free: 10.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.7786, allocations: 20 kB / 1.559 GB, free: 10.68 MB / 1.264 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.0006197/0.7792, allocations: 301.6 kB / 1.559 GB, free: 10.38 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.7794, allocations: 95.58 kB / 1.559 GB, free: 10.28 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.7795, allocations: 104.7 kB / 1.559 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.7795, allocations: 4 kB / 1.559 GB, free: 10.17 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7795, allocations: 0 / 1.559 GB, free: 10.17 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/0.7808, allocations: 0.8427 MB / 1.56 GB, free: 9.242 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.7839, allocations: 1.788 MB / 1.562 GB, free: 7.355 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7839, allocations: 4.094 kB / 1.562 GB, free: 7.352 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.7845, allocations: 135.8 kB / 1.562 GB, free: 7.219 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.7847, allocations: 40.83 kB / 1.562 GB, free: 7.176 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.7847, allocations: 12 kB / 1.562 GB, free: 7.164 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.7862, allocations: 1.598 MB / 1.563 GB, free: 5.43 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7862, allocations: 7.938 kB / 1.563 GB, free: 5.422 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.788, allocations: 1.062 MB / 1.564 GB, free: 4.301 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.7885, allocations: 244.4 kB / 1.565 GB, free: 4.043 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.7886, allocations: 16 kB / 1.565 GB, free: 4.027 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.7893, allocations: 46.75 kB / 1.565 GB, free: 3.984 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7894, allocations: 36.03 kB / 1.565 GB, free: 3.949 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.7895, allocations: 31.98 kB / 1.565 GB, free: 3.918 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008176/0.7903, allocations: 0.5576 MB / 1.565 GB, free: 3.367 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7903, allocations: 0 / 1.565 GB, free: 3.367 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009765/0.7913, allocations: 276 kB / 1.566 GB, free: 3.098 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.0005448/0.7918, allocations: 200.8 kB / 1.566 GB, free: 2.902 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.7933, allocations: 0.7842 MB / 1.567 GB, free: 2.094 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.7933, allocations: 4 kB / 1.567 GB, free: 2.09 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/0.7939, allocations: 395.7 kB / 1.567 GB, free: 1.691 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.7968, allocations: 0.5947 MB / 1.568 GB, free: 1.105 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.8001, allocations: 1.84 MB / 1.569 GB, free: 15.19 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.8009, allocations: 1.084 MB / 1.57 GB, free: 14.07 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008307/0.8017, allocations: 219.7 kB / 1.571 GB, free: 13.86 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.8019, allocations: 71.44 kB / 1.571 GB, free: 13.79 MB / 1.279 GB Notification: Performance of SimCode: time 1.272e-06/0.8019, allocations: 0 / 1.571 GB, free: 13.79 MB / 1.279 GB Notification: Performance of Templates: time 0.03972/0.8416, allocations: 20.34 MB / 1.591 GB, free: 9.707 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] 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: 10.369310575537384]