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.001698/0.001698, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002214/0.002214, allocations: 216 kB / 22.25 MB, free: 5.117 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.035 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 3.04/3.04, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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: 70.59 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 176.1 MB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2674/0.6093, allocations: 225.6 MB / 1.547 GB, free: 14.98 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.009873/0.6192, allocations: 5.774 MB / 1.552 GB, free: 9.199 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.6204, allocations: 59.5 kB / 1.552 GB, free: 9.141 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.6221, allocations: 0.602 MB / 1.553 GB, free: 8.535 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.6268, allocations: 1.715 MB / 1.555 GB, free: 6.812 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.6302, allocations: 1.271 MB / 1.556 GB, free: 5.551 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003967/0.6342, allocations: 2.628 MB / 1.558 GB, free: 2.91 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.6354, allocations: 0.6967 MB / 1.559 GB, free: 2.203 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.638, allocations: 1.296 MB / 1.56 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.6401, allocations: 0.8973 MB / 1.561 GB, free: 16 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.6402, allocations: 96.05 kB / 1.561 GB, free: 15.92 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.6435, allocations: 1.629 MB / 1.563 GB, free: 14.29 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.644, allocations: 418.7 kB / 1.563 GB, free: 13.88 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007433/0.6448, allocations: 0.5872 MB / 1.564 GB, free: 13.29 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.6482, allocations: 2.025 MB / 1.566 GB, free: 11.26 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6482, allocations: 0 / 1.566 GB, free: 11.26 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6482, allocations: 0 / 1.566 GB, free: 11.26 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.6482, allocations: 0 / 1.566 GB, free: 11.26 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.002413/0.6506, allocations: 1.389 MB / 1.567 GB, free: 9.832 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6507, allocations: 8.031 kB / 1.567 GB, free: 9.824 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.6532, allocations: 422.8 kB / 1.568 GB, free: 9.41 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.6548, allocations: 0.7479 MB / 1.568 GB, free: 8.629 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.6548, allocations: 54 kB / 1.568 GB, free: 8.574 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.655, allocations: 76 kB / 1.569 GB, free: 8.5 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6568, allocations: 0.9828 MB / 1.569 GB, free: 7.5 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.6568, allocations: 7.938 kB / 1.569 GB, free: 7.492 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.6569, allocations: 32 kB / 1.57 GB, free: 7.461 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.657, allocations: 29.94 kB / 1.57 GB, free: 7.43 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.6588, allocations: 0.8705 MB / 1.57 GB, free: 6.559 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.006106/0.6649, allocations: 3.591 MB / 1.574 GB, free: 2.754 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.6665, allocations: 0.5822 MB / 1.574 GB, free: 2.164 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/0.6672, allocations: 333.5 kB / 1.575 GB, free: 1.836 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.6674, allocations: 19.98 kB / 1.575 GB, free: 1.816 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6674, allocations: 42.5 kB / 1.575 GB, free: 1.766 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.6674, allocations: 4 kB / 1.575 GB, free: 1.762 MB / 1.264 GB Notification: Performance of matching and sorting (n=41): time 0.004915/0.6723, allocations: 1.837 MB / 1.577 GB, free: 15.89 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.6724, allocations: 55.41 kB / 1.577 GB, free: 15.82 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6734, allocations: 0.7783 MB / 1.577 GB, free: 15.04 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.6734, allocations: 33.7 kB / 1.577 GB, free: 15 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.6738, allocations: 468.4 kB / 1.578 GB, free: 14.54 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.674, allocations: 150.7 kB / 1.578 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.6742, allocations: 110.3 kB / 1.578 GB, free: 14.27 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6743, allocations: 333.9 kB / 1.578 GB, free: 13.94 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.6751, allocations: 309.1 kB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008872/0.676, allocations: 448.4 kB / 1.579 GB, free: 13.15 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.005252/0.6812, allocations: 1.848 MB / 1.581 GB, free: 11.25 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6812, allocations: 0 / 1.581 GB, free: 11.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001892/0.6831, allocations: 0.843 MB / 1.582 GB, free: 10.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6832, allocations: 10.19 kB / 1.582 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6832, allocations: 4 kB / 1.582 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6832, allocations: 4 kB / 1.582 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.684, allocations: 171.8 kB / 1.582 GB, free: 10.22 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.684, allocations: 8 kB / 1.582 GB, free: 10.21 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.6848, allocations: 65.41 kB / 1.582 GB, free: 10.15 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.6849, allocations: 23.98 kB / 1.582 GB, free: 10.12 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.0004439/0.6853, allocations: 277.5 kB / 1.582 GB, free: 9.844 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.6855, allocations: 91.47 kB / 1.582 GB, free: 9.754 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.6857, allocations: 96.08 kB / 1.583 GB, free: 9.656 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6857, allocations: 4 kB / 1.583 GB, free: 9.652 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6857, allocations: 4 kB / 1.583 GB, free: 9.648 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.6872, allocations: 0.6951 MB / 1.583 GB, free: 8.922 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.6911, allocations: 1.878 MB / 1.585 GB, free: 6.953 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6911, allocations: 4 kB / 1.585 GB, free: 6.949 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.6918, allocations: 148.2 kB / 1.585 GB, free: 6.805 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.6918, allocations: 8 kB / 1.585 GB, free: 6.797 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.6919, allocations: 8 kB / 1.585 GB, free: 6.789 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.6919, allocations: 11.98 kB / 1.585 GB, free: 6.777 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6919, allocations: 4 kB / 1.585 GB, free: 6.773 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.6944, allocations: 1.221 MB / 1.586 GB, free: 5.492 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.6948, allocations: 167.4 kB / 1.587 GB, free: 5.328 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.6949, allocations: 15.98 kB / 1.587 GB, free: 5.312 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/0.6956, allocations: 55.95 kB / 1.587 GB, free: 5.258 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.6957, allocations: 47.8 kB / 1.587 GB, free: 5.211 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.6958, allocations: 31.98 kB / 1.587 GB, free: 5.18 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007/0.6965, allocations: 0.538 MB / 1.587 GB, free: 4.648 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6965, allocations: 0 / 1.587 GB, free: 4.648 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0007699/0.6972, allocations: 247.9 kB / 1.588 GB, free: 4.406 MB / 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.0003625/0.6976, allocations: 197.9 kB / 1.588 GB, free: 4.207 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.6993, allocations: 0.6549 MB / 1.588 GB, free: 3.555 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6993, allocations: 8.125 kB / 1.588 GB, free: 3.547 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0007655/0.7, allocations: 324.3 kB / 1.589 GB, free: 3.23 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.7022, allocations: 0.5285 MB / 1.589 GB, free: 2.711 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.7065, allocations: 1.919 MB / 1.591 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.7072, allocations: 1.04 MB / 1.592 GB, free: 15.65 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007104/0.7079, allocations: 223.1 kB / 1.592 GB, free: 15.43 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.7081, allocations: 67.42 kB / 1.592 GB, free: 15.36 MB / 1.295 GB Notification: Performance of SimCode: time 6.21e-07/0.7081, allocations: 4 kB / 1.592 GB, free: 15.36 MB / 1.295 GB Notification: Performance of Templates: time 0.6439/1.352, allocations: 19.26 MB / 1.611 GB, free: 276.1 MB / 1.295 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.907087055034935]