Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001351/0.001351, 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.001483/0.001483, allocations: 221.5 kB / 23 MB, free: 4.906 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.398/3.398, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.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_latest_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_latest_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.002112/0.002112, allocations: 64.41 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3981, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.272/0.6702, allocations: 196 MB / 1.556 GB, free: 8.773 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.6818, allocations: 5.438 MB / 1.561 GB, free: 3.32 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.6834, allocations: 55.56 kB / 1.561 GB, free: 3.266 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.6855, allocations: 0.5552 MB / 1.562 GB, free: 2.707 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.6909, allocations: 1.702 MB / 1.564 GB, free: 1 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.6947, allocations: 1.228 MB / 1.565 GB, free: 15.78 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004192/0.6989, allocations: 2.612 MB / 1.567 GB, free: 13.16 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.7003, allocations: 0.6927 MB / 1.568 GB, free: 12.46 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.7034, allocations: 1.296 MB / 1.569 GB, free: 11.16 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.7059, allocations: 0.8533 MB / 1.57 GB, free: 10.31 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.7062, allocations: 99.98 kB / 1.57 GB, free: 10.21 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.7092, allocations: 1.263 MB / 1.572 GB, free: 8.949 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005509/0.7098, allocations: 418.8 kB / 1.572 GB, free: 8.539 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007785/0.7106, allocations: 0.4901 MB / 1.572 GB, free: 8.047 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.7138, allocations: 1.982 MB / 1.574 GB, free: 6.059 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7138, allocations: 0 / 1.574 GB, free: 6.059 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7138, allocations: 4 kB / 1.574 GB, free: 6.055 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.7138, allocations: 0 / 1.574 GB, free: 6.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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002514/0.7163, allocations: 1.391 MB / 1.576 GB, free: 4.625 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7164, allocations: 8.031 kB / 1.576 GB, free: 4.617 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.719, allocations: 422.8 kB / 1.576 GB, free: 4.203 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.7207, allocations: 0.7324 MB / 1.577 GB, free: 3.441 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.7208, allocations: 58 kB / 1.577 GB, free: 3.383 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.7209, allocations: 76 kB / 1.577 GB, free: 3.309 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.7231, allocations: 1.367 MB / 1.578 GB, free: 1.832 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.7231, allocations: 3.938 kB / 1.578 GB, free: 1.828 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.7232, allocations: 32 kB / 1.578 GB, free: 1.797 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/0.7233, allocations: 33.94 kB / 1.578 GB, free: 1.762 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.7253, allocations: 0.8743 MB / 1.579 GB, free: 0.8906 MB / 1.264 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.005825/0.7311, allocations: 2.624 MB / 1.582 GB, free: 14.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.7327, allocations: 0.5774 MB / 1.582 GB, free: 13.62 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.7335, allocations: 331.4 kB / 1.583 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.7336, allocations: 31.98 kB / 1.583 GB, free: 13.26 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.7337, allocations: 42.5 kB / 1.583 GB, free: 13.21 MB / 1.279 GB Notification: Performance of pre-optimization done (n=39): time 2.245e-06/0.7337, allocations: 0 / 1.583 GB, free: 13.21 MB / 1.279 GB Notification: Performance of matching and sorting (n=41): time 0.005257/0.7389, allocations: 1.823 MB / 1.584 GB, free: 11.35 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.739, allocations: 59.19 kB / 1.585 GB, free: 11.28 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.7399, allocations: 0.633 MB / 1.585 GB, free: 10.64 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.7399, allocations: 37.7 kB / 1.585 GB, free: 10.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.7403, allocations: 468 kB / 1.586 GB, free: 10.13 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.7405, allocations: 154.7 kB / 1.586 GB, free: 9.98 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.7407, allocations: 110.2 kB / 1.586 GB, free: 9.863 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.7409, allocations: 378.8 kB / 1.586 GB, free: 9.484 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008124/0.7417, allocations: 317 kB / 1.587 GB, free: 9.176 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.7427, allocations: 0.5329 MB / 1.587 GB, free: 8.57 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.005473/0.7482, allocations: 1.844 MB / 1.589 GB, free: 6.684 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.7482, allocations: 7.938 kB / 1.589 GB, free: 6.676 MB / 1.279 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002083/0.7503, allocations: 0.8314 MB / 1.59 GB, free: 5.84 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.7503, allocations: 8 kB / 1.59 GB, free: 5.832 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7503, allocations: 4 kB / 1.59 GB, free: 5.828 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.7503, allocations: 4 kB / 1.59 GB, free: 5.824 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.7512, allocations: 171.8 kB / 1.59 GB, free: 5.656 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.7512, allocations: 4 kB / 1.59 GB, free: 5.652 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.7521, allocations: 61.03 kB / 1.59 GB, free: 5.594 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.7522, allocations: 23.98 kB / 1.59 GB, free: 5.57 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 (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.000485/0.7526, allocations: 282.2 kB / 1.59 GB, free: 5.285 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.7528, allocations: 79.53 kB / 1.59 GB, free: 5.207 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.753, allocations: 78.84 kB / 1.59 GB, free: 5.129 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.753, allocations: 4 kB / 1.59 GB, free: 5.125 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.753, allocations: 0 / 1.59 GB, free: 5.125 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001667/0.7547, allocations: 0.6912 MB / 1.591 GB, free: 4.402 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.7588, allocations: 1.668 MB / 1.593 GB, free: 2.656 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.7588, allocations: 4.406 kB / 1.593 GB, free: 2.652 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.7596, allocations: 151.7 kB / 1.593 GB, free: 2.504 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.7596, allocations: 4 kB / 1.593 GB, free: 2.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.7596, allocations: 16 kB / 1.593 GB, free: 2.484 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.7596, allocations: 8 kB / 1.593 GB, free: 2.477 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7596, allocations: 11.94 kB / 1.593 GB, free: 2.465 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.7624, allocations: 1.21 MB / 1.594 GB, free: 1.191 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/0.7629, allocations: 151.4 kB / 1.594 GB, free: 1.043 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.763, allocations: 20.05 kB / 1.594 GB, free: 1.023 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.7637, allocations: 58.06 kB / 1.594 GB, free: 0.9688 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.7638, allocations: 47.81 kB / 1.594 GB, free: 0.9219 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.7639, allocations: 23.98 kB / 1.594 GB, free: 0.8984 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005935/0.7645, allocations: 447 kB / 1.595 GB, free: 476 kB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.7645, allocations: 0 / 1.595 GB, free: 476 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008436/0.7653, allocations: 247.9 kB / 1.595 GB, free: 228 kB / 1.279 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.0003835/0.7657, allocations: 179 kB / 1.595 GB, free: 40 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.7676, allocations: 0.6659 MB / 1.596 GB, free: 15.37 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7676, allocations: 0 / 1.596 GB, free: 15.37 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/0.7684, allocations: 333 kB / 1.596 GB, free: 15.05 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.7704, allocations: 432.9 kB / 1.597 GB, free: 14.64 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.775, allocations: 1.936 MB / 1.598 GB, free: 12.62 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.7755, allocations: 450.2 kB / 1.599 GB, free: 12.16 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.7758, allocations: 67.42 kB / 1.599 GB, free: 12.09 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/0.7758, allocations: 0 / 1.599 GB, free: 12.09 MB / 1.295 GB Notification: Performance of Templates: time 0.7144/1.49, allocations: 14.04 MB / 1.613 GB, free: 246.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.103771364316344]