Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.001573/0.001573, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001796/0.001796, allocations: 223.4 kB / 23 MB, free: 4.914 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476 MB / 0.7707 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") [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.002204/0.002204, allocations: 66.92 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3791, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2665/0.6456, allocations: 195.9 MB / 1.475 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.6577, allocations: 5.437 MB / 1.48 GB, free: 1.898 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.6598, allocations: 51.56 kB / 1.48 GB, free: 1.848 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.662, allocations: 0.5552 MB / 1.481 GB, free: 1.289 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005865/0.6679, allocations: 1.692 MB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.6721, allocations: 1.238 MB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.6763, allocations: 2.62 MB / 1.486 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.6776, allocations: 0.685 MB / 1.487 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.6799, allocations: 1.144 MB / 1.488 GB, free: 9.887 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.6821, allocations: 0.8663 MB / 1.489 GB, free: 9.027 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.6823, allocations: 96 kB / 1.489 GB, free: 8.934 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.6852, allocations: 1.274 MB / 1.49 GB, free: 7.656 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.6858, allocations: 418.7 kB / 1.491 GB, free: 7.246 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007723/0.6866, allocations: 498 kB / 1.491 GB, free: 6.758 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.69, allocations: 1.986 MB / 1.493 GB, free: 4.766 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.69, allocations: 7.984 kB / 1.493 GB, free: 4.758 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/0.69, allocations: 0 / 1.493 GB, free: 4.758 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.858e-05/0.69, allocations: 0 / 1.493 GB, free: 4.758 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002647/0.6927, allocations: 1.391 MB / 1.495 GB, free: 3.328 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6927, allocations: 8.031 kB / 1.495 GB, free: 3.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.6954, allocations: 426.8 kB / 1.495 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.6971, allocations: 0.7285 MB / 1.496 GB, free: 2.148 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.6972, allocations: 62 kB / 1.496 GB, free: 2.086 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.6973, allocations: 80 kB / 1.496 GB, free: 2.008 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.6996, allocations: 1.363 MB / 1.497 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.6996, allocations: 0 / 1.497 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.6997, allocations: 32 kB / 1.497 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.6997, allocations: 37.92 kB / 1.497 GB, free: 476 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.7018, allocations: 0.8704 MB / 1.498 GB, free: 15.6 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006098/0.7079, allocations: 2.628 MB / 1.501 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.7096, allocations: 0.5658 MB / 1.501 GB, free: 12.33 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/0.7105, allocations: 337.5 kB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.7106, allocations: 19.98 kB / 1.502 GB, free: 11.98 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.7107, allocations: 46.5 kB / 1.502 GB, free: 11.92 MB / 1.201 GB Notification: Performance of pre-optimization done (n=39): time 5.851e-06/0.7107, allocations: 3.984 kB / 1.502 GB, free: 11.92 MB / 1.201 GB Notification: Performance of matching and sorting (n=41): time 0.005326/0.716, allocations: 1.802 MB / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.716, allocations: 63.33 kB / 1.503 GB, free: 10 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/0.7169, allocations: 0.6253 MB / 1.504 GB, free: 9.371 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/0.717, allocations: 41.64 kB / 1.504 GB, free: 9.324 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.7174, allocations: 475.9 kB / 1.505 GB, free: 8.852 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.7176, allocations: 150.7 kB / 1.505 GB, free: 8.703 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.7178, allocations: 114.3 kB / 1.505 GB, free: 8.586 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.718, allocations: 374.8 kB / 1.505 GB, free: 8.211 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.7188, allocations: 309.1 kB / 1.505 GB, free: 7.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.7198, allocations: 0.5332 MB / 1.506 GB, free: 7.305 MB / 1.201 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.005598/0.7254, allocations: 1.852 MB / 1.508 GB, free: 5.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.7254, allocations: 7.922 kB / 1.508 GB, free: 5.402 MB / 1.201 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002048/0.7275, allocations: 0.8313 MB / 1.509 GB, free: 4.566 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7275, allocations: 8 kB / 1.509 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.7275, allocations: 4 kB / 1.509 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7275, allocations: 8.094 kB / 1.509 GB, free: 4.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.7284, allocations: 167.7 kB / 1.509 GB, free: 4.383 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.7284, allocations: 4 kB / 1.509 GB, free: 4.379 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/0.7293, allocations: 63.89 kB / 1.509 GB, free: 4.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.7293, allocations: 20 kB / 1.509 GB, free: 4.297 MB / 1.201 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004892/0.7298, allocations: 282.8 kB / 1.509 GB, free: 4.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.73, allocations: 83.53 kB / 1.509 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.7302, allocations: 82.83 kB / 1.509 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7302, allocations: 4 kB / 1.509 GB, free: 3.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7302, allocations: 0 / 1.509 GB, free: 3.84 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/0.7319, allocations: 0.6951 MB / 1.51 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.736, allocations: 1.661 MB / 1.512 GB, free: 1.375 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.736, allocations: 8.031 kB / 1.512 GB, free: 1.367 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.7368, allocations: 147.7 kB / 1.512 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.7368, allocations: 8 kB / 1.512 GB, free: 1.215 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.7368, allocations: 16 kB / 1.512 GB, free: 1.199 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.7368, allocations: 4 kB / 1.512 GB, free: 1.195 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.7369, allocations: 11.92 kB / 1.512 GB, free: 1.184 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.7396, allocations: 1.202 MB / 1.513 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/0.7401, allocations: 155.5 kB / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.7402, allocations: 8 kB / 1.513 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.741, allocations: 59.92 kB / 1.513 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.7411, allocations: 43.81 kB / 1.513 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.7411, allocations: 31.97 kB / 1.513 GB, free: 15.62 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005872/0.7417, allocations: 435 kB / 1.514 GB, free: 15.2 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7417, allocations: 4 kB / 1.514 GB, free: 15.2 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008044/0.7425, allocations: 251.8 kB / 1.514 GB, free: 14.95 MB / 1.217 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/0.7429, allocations: 194.9 kB / 1.514 GB, free: 14.76 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.7448, allocations: 0.6551 MB / 1.515 GB, free: 14.1 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.7448, allocations: 0 / 1.515 GB, free: 14.1 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008465/0.7456, allocations: 325 kB / 1.515 GB, free: 13.78 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7476, allocations: 428.8 kB / 1.515 GB, free: 13.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.7523, allocations: 1.954 MB / 1.517 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.7528, allocations: 446.3 kB / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.7531, allocations: 67.42 kB / 1.518 GB, free: 10.82 MB / 1.217 GB Notification: Performance of SimCode: time 6.31e-07/0.7531, allocations: 0 / 1.518 GB, free: 10.82 MB / 1.217 GB Notification: Performance of Templates: time 0.02227/0.7754, allocations: 14.05 MB / 1.532 GB, free: 12.88 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.715631030034274]