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.001286/0.001286, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001437/0.001437, allocations: 214.6 kB / 23.01 MB, free: 5.109 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.769/2.769, allocations: 476.7 MB / 0.7714 GB, free: 4.227 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.002043/0.002043, allocations: 64.88 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2699/0.5809, allocations: 225.5 MB / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.5924, allocations: 5.782 MB / 1.51 GB, free: 3.09 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.5941, allocations: 63.44 kB / 1.511 GB, free: 3.027 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.5958, allocations: 0.6098 MB / 1.511 GB, free: 2.414 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.6006, allocations: 1.707 MB / 1.513 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.6042, allocations: 1.259 MB / 1.514 GB, free: 15.44 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004425/0.6086, allocations: 2.641 MB / 1.517 GB, free: 12.8 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.6099, allocations: 0.6927 MB / 1.517 GB, free: 12.09 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.6124, allocations: 1.129 MB / 1.518 GB, free: 10.96 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.6149, allocations: 0.9072 MB / 1.519 GB, free: 10.06 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.6151, allocations: 96 kB / 1.519 GB, free: 9.965 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.6186, allocations: 1.645 MB / 1.521 GB, free: 8.316 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.6192, allocations: 422.7 kB / 1.521 GB, free: 7.902 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.62, allocations: 0.5755 MB / 1.522 GB, free: 7.324 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.6235, allocations: 2.028 MB / 1.524 GB, free: 5.289 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6235, allocations: 0 / 1.524 GB, free: 5.289 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6235, allocations: 0 / 1.524 GB, free: 5.289 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.6235, allocations: 0 / 1.524 GB, free: 5.289 MB / 1.217 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.002695/0.6262, allocations: 1.391 MB / 1.525 GB, free: 3.859 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6263, allocations: 8.031 kB / 1.525 GB, free: 3.852 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.6289, allocations: 426.8 kB / 1.526 GB, free: 3.434 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.6306, allocations: 0.7362 MB / 1.526 GB, free: 2.672 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.6306, allocations: 54 kB / 1.526 GB, free: 2.617 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.6307, allocations: 76 kB / 1.527 GB, free: 2.543 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.6328, allocations: 0.9905 MB / 1.527 GB, free: 1.535 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.6329, allocations: 0 / 1.527 GB, free: 1.535 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.633, allocations: 32 kB / 1.528 GB, free: 1.504 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.633, allocations: 29.94 kB / 1.528 GB, free: 1.473 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.635, allocations: 0.886 MB / 1.528 GB, free: 0.5898 MB / 1.217 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.006497/0.6415, allocations: 3.428 MB / 1.532 GB, free: 12.98 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.6431, allocations: 0.5774 MB / 1.532 GB, free: 12.39 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.6438, allocations: 329.5 kB / 1.533 GB, free: 12.07 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.644, allocations: 23.98 kB / 1.533 GB, free: 12.04 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.6441, allocations: 42.5 kB / 1.533 GB, free: 11.99 MB / 1.232 GB Notification: Performance of pre-optimization done (n=39): time 2.464e-06/0.6441, allocations: 0 / 1.533 GB, free: 11.99 MB / 1.232 GB Notification: Performance of matching and sorting (n=41): time 0.004989/0.649, allocations: 1.833 MB / 1.534 GB, free: 10.12 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.6491, allocations: 55.41 kB / 1.535 GB, free: 10.05 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.6502, allocations: 0.7822 MB / 1.535 GB, free: 9.262 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.6503, allocations: 37.7 kB / 1.535 GB, free: 9.219 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.6507, allocations: 464.4 kB / 1.536 GB, free: 8.762 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6509, allocations: 154.7 kB / 1.536 GB, free: 8.609 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.6511, allocations: 110.3 kB / 1.536 GB, free: 8.496 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6513, allocations: 333.9 kB / 1.536 GB, free: 8.164 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.6521, allocations: 305.1 kB / 1.537 GB, free: 7.867 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/0.653, allocations: 448.4 kB / 1.537 GB, free: 7.379 MB / 1.232 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.005201/0.6582, allocations: 1.848 MB / 1.539 GB, free: 5.488 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6582, allocations: 0 / 1.539 GB, free: 5.488 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001994/0.6602, allocations: 0.8469 MB / 1.54 GB, free: 4.637 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6602, allocations: 4 kB / 1.54 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6602, allocations: 4 kB / 1.54 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.6602, allocations: 8 kB / 1.54 GB, free: 4.621 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.661, allocations: 163.8 kB / 1.54 GB, free: 4.461 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.661, allocations: 8 kB / 1.54 GB, free: 4.453 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.6619, allocations: 63.89 kB / 1.54 GB, free: 4.391 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.6619, allocations: 20 kB / 1.54 GB, free: 4.371 MB / 1.232 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.0004606/0.6624, allocations: 281.6 kB / 1.54 GB, free: 4.086 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6625, allocations: 91.47 kB / 1.54 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.6628, allocations: 96.03 kB / 1.54 GB, free: 3.895 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.6628, allocations: 7.984 kB / 1.54 GB, free: 3.887 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6628, allocations: 4 kB / 1.54 GB, free: 3.883 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.6643, allocations: 0.6911 MB / 1.541 GB, free: 3.16 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.6684, allocations: 1.875 MB / 1.543 GB, free: 1.195 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.6684, allocations: 4 kB / 1.543 GB, free: 1.191 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.6691, allocations: 156.1 kB / 1.543 GB, free: 1.039 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.6692, allocations: 4 kB / 1.543 GB, free: 1.035 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.6692, allocations: 12 kB / 1.543 GB, free: 1.023 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.6692, allocations: 4 kB / 1.543 GB, free: 1.02 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6692, allocations: 11.94 kB / 1.543 GB, free: 1.008 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.6719, allocations: 1.221 MB / 1.544 GB, free: 15.72 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.6724, allocations: 163.3 kB / 1.544 GB, free: 15.56 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6725, allocations: 12 kB / 1.544 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.6733, allocations: 60.64 kB / 1.545 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.6734, allocations: 39.86 kB / 1.545 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.6735, allocations: 31.98 kB / 1.545 GB, free: 15.42 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007791/0.6743, allocations: 0.538 MB / 1.545 GB, free: 14.89 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6743, allocations: 0 / 1.545 GB, free: 14.89 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000846/0.6751, allocations: 247.9 kB / 1.545 GB, free: 14.65 MB / 1.248 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.0003938/0.6755, allocations: 197.8 kB / 1.546 GB, free: 14.45 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.6773, allocations: 0.6667 MB / 1.546 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6773, allocations: 4 kB / 1.546 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.6781, allocations: 321 kB / 1.547 GB, free: 13.46 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.6805, allocations: 0.5307 MB / 1.547 GB, free: 12.95 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.6849, allocations: 1.963 MB / 1.549 GB, free: 10.9 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.6857, allocations: 1.04 MB / 1.55 GB, free: 9.836 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.686, allocations: 75.42 kB / 1.55 GB, free: 9.762 MB / 1.248 GB Notification: Performance of SimCode: time 1.253e-06/0.686, allocations: 0 / 1.55 GB, free: 9.762 MB / 1.248 GB Notification: Performance of Templates: time 0.02507/0.7111, allocations: 15.18 MB / 1.565 GB, free: 10.72 MB / 1.264 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: 14.614914419013076]