Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001563/0.001563, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001774/0.001774, allocations: 204 kB / 20.09 MB, free: 2.977 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.848/2.848, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002024/0.002024, allocations: 67.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8968, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2749/1.172, allocations: 225 MB / 1.542 GB, free: 8.082 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01045/1.182, allocations: 5.761 MB / 1.547 GB, free: 2.312 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/1.184, allocations: 51.56 kB / 1.547 GB, free: 2.262 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/1.185, allocations: 0.6098 MB / 1.548 GB, free: 1.648 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/1.19, allocations: 1.688 MB / 1.55 GB, free: 15.95 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/1.193, allocations: 1.236 MB / 1.551 GB, free: 14.73 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003803/1.197, allocations: 2.566 MB / 1.553 GB, free: 12.15 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.198, allocations: 0.7623 MB / 1.554 GB, free: 11.38 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/1.201, allocations: 1.288 MB / 1.555 GB, free: 10.09 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/1.203, allocations: 0.884 MB / 1.556 GB, free: 9.211 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/1.203, allocations: 99.98 kB / 1.556 GB, free: 9.113 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/1.206, allocations: 1.606 MB / 1.558 GB, free: 7.504 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004725/1.207, allocations: 414.7 kB / 1.558 GB, free: 7.098 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000721/1.207, allocations: 0.5911 MB / 1.559 GB, free: 6.504 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/1.21, allocations: 2.024 MB / 1.561 GB, free: 4.473 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.21, allocations: 0 / 1.561 GB, free: 4.473 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.493e-06/1.21, allocations: 0 / 1.561 GB, free: 4.473 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.478e-05/1.21, allocations: 0 / 1.561 GB, free: 4.473 MB / 1.232 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.002447/1.213, allocations: 1.455 MB / 1.562 GB, free: 2.961 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.213, allocations: 11.98 kB / 1.562 GB, free: 2.949 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.216, allocations: 430.8 kB / 1.563 GB, free: 2.527 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.217, allocations: 0.8161 MB / 1.563 GB, free: 1.668 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/1.217, allocations: 58 kB / 1.564 GB, free: 1.609 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.217, allocations: 72 kB / 1.564 GB, free: 1.539 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/1.219, allocations: 0.9905 MB / 1.565 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/1.219, allocations: 0 / 1.565 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/1.219, allocations: 32 kB / 1.565 GB, free: 0.5 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/1.219, allocations: 37.94 kB / 1.565 GB, free: 472 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/1.221, allocations: 0.8743 MB / 1.565 GB, free: 15.59 MB / 1.248 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.006229/1.228, allocations: 3.629 MB / 1.569 GB, free: 11.73 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.229, allocations: 0.5853 MB / 1.57 GB, free: 11.14 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/1.23, allocations: 327.8 kB / 1.57 GB, free: 10.82 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/1.23, allocations: 97.09 kB / 1.57 GB, free: 10.71 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/1.23, allocations: 54.44 kB / 1.57 GB, free: 10.64 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 2.345e-06/1.23, allocations: 0 / 1.57 GB, free: 10.64 MB / 1.248 GB Notification: Performance of matching and sorting (n=41): time 0.005521/1.236, allocations: 1.895 MB / 1.572 GB, free: 8.695 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.236, allocations: 55.41 kB / 1.572 GB, free: 8.629 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/1.237, allocations: 0.7861 MB / 1.573 GB, free: 7.836 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/1.237, allocations: 33.7 kB / 1.573 GB, free: 7.797 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/1.237, allocations: 464.4 kB / 1.573 GB, free: 7.34 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/1.238, allocations: 158.6 kB / 1.573 GB, free: 7.184 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.238, allocations: 114.2 kB / 1.573 GB, free: 7.066 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.238, allocations: 325.9 kB / 1.574 GB, free: 6.742 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008962/1.239, allocations: 312.9 kB / 1.574 GB, free: 6.434 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/1.24, allocations: 439.5 kB / 1.575 GB, free: 5.961 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.005791/1.246, allocations: 1.927 MB / 1.576 GB, free: 3.969 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.246, allocations: 4 kB / 1.576 GB, free: 3.965 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00215/1.248, allocations: 0.8391 MB / 1.577 GB, free: 3.121 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.248, allocations: 8 kB / 1.577 GB, free: 3.113 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.248, allocations: 4 kB / 1.577 GB, free: 3.109 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.248, allocations: 4 kB / 1.577 GB, free: 3.105 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/1.249, allocations: 175.8 kB / 1.577 GB, free: 2.934 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.249, allocations: 11.94 kB / 1.577 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/1.25, allocations: 55.94 kB / 1.577 GB, free: 2.867 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/1.25, allocations: 24 kB / 1.577 GB, free: 2.844 MB / 1.248 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.0004887/1.25, allocations: 277.5 kB / 1.578 GB, free: 2.562 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/1.25, allocations: 87.48 kB / 1.578 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/1.251, allocations: 100.1 kB / 1.578 GB, free: 2.375 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/1.251, allocations: 4 kB / 1.578 GB, free: 2.371 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.251, allocations: 0 / 1.578 GB, free: 2.371 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/1.252, allocations: 0.6912 MB / 1.579 GB, free: 1.648 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/1.257, allocations: 1.908 MB / 1.58 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.257, allocations: 4 kB / 1.58 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/1.257, allocations: 144.2 kB / 1.581 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.257, allocations: 8 kB / 1.581 GB, free: 15.49 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.258, allocations: 8 kB / 1.581 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/1.258, allocations: 15.92 kB / 1.581 GB, free: 15.47 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.258, allocations: 4 kB / 1.581 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/1.26, allocations: 1.221 MB / 1.582 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/1.261, allocations: 244.5 kB / 1.582 GB, free: 13.93 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.261, allocations: 20.06 kB / 1.582 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/1.262, allocations: 59.27 kB / 1.582 GB, free: 13.85 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/1.262, allocations: 43.83 kB / 1.582 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/1.262, allocations: 31.97 kB / 1.582 GB, free: 13.78 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000818/1.263, allocations: 0.538 MB / 1.583 GB, free: 13.25 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/1.263, allocations: 0 / 1.583 GB, free: 13.25 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008406/1.264, allocations: 251.9 kB / 1.583 GB, free: 13 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 (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.0003744/1.264, allocations: 193.9 kB / 1.583 GB, free: 12.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001904/1.266, allocations: 0.6665 MB / 1.584 GB, free: 12.14 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.266, allocations: 4 kB / 1.584 GB, free: 12.14 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/1.267, allocations: 320.8 kB / 1.584 GB, free: 11.82 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.269, allocations: 0.528 MB / 1.585 GB, free: 11.31 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/1.274, allocations: 1.962 MB / 1.587 GB, free: 9.266 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/1.275, allocations: 1.037 MB / 1.588 GB, free: 8.199 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/1.275, allocations: 75.36 kB / 1.588 GB, free: 8.129 MB / 1.264 GB Notification: Performance of SimCode: time 9.51e-07/1.275, allocations: 4 kB / 1.588 GB, free: 8.125 MB / 1.264 GB Notification: Performance of Templates: time 0.02346/1.298, allocations: 15.17 MB / 1.602 GB, free: 9.094 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.56728275999194]