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.001454/0.001454, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001641/0.001641, allocations: 223.5 kB / 23.01 MB, free: 4.609 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.939/2.939, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.001926/0.001926, allocations: 67.84 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2874, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2415/0.5289, allocations: 225.6 MB / 1.547 GB, free: 15.03 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.009319/0.5382, allocations: 5.77 MB / 1.553 GB, free: 9.254 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.5395, allocations: 55.56 kB / 1.553 GB, free: 9.199 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.5411, allocations: 0.6098 MB / 1.554 GB, free: 8.586 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.5452, allocations: 1.723 MB / 1.555 GB, free: 6.855 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.5483, allocations: 1.264 MB / 1.557 GB, free: 5.598 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003427/0.5517, allocations: 2.626 MB / 1.559 GB, free: 2.961 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.5527, allocations: 0.6928 MB / 1.56 GB, free: 2.258 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.555, allocations: 1.3 MB / 1.561 GB, free: 0.9531 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.5568, allocations: 0.8924 MB / 1.562 GB, free: 72 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.557, allocations: 99.98 kB / 1.562 GB, free: 15.97 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.5598, allocations: 1.633 MB / 1.564 GB, free: 14.34 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.5602, allocations: 418.8 kB / 1.564 GB, free: 13.93 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.5609, allocations: 0.5755 MB / 1.565 GB, free: 13.35 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.5636, allocations: 2.032 MB / 1.567 GB, free: 11.31 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5636, allocations: 4 kB / 1.567 GB, free: 11.3 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5636, allocations: 0 / 1.567 GB, free: 11.3 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5636, allocations: 3.938 kB / 1.567 GB, free: 11.3 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.002205/0.5658, allocations: 1.384 MB / 1.568 GB, free: 9.879 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5658, allocations: 16.03 kB / 1.568 GB, free: 9.863 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.5683, allocations: 410.9 kB / 1.568 GB, free: 9.461 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.5697, allocations: 0.7401 MB / 1.569 GB, free: 8.688 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.5698, allocations: 65.98 kB / 1.569 GB, free: 8.621 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5699, allocations: 72 kB / 1.569 GB, free: 8.551 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5717, allocations: 0.9905 MB / 1.57 GB, free: 7.543 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5717, allocations: 0 / 1.57 GB, free: 7.543 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.5718, allocations: 35.98 kB / 1.57 GB, free: 7.508 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.5718, allocations: 33.94 kB / 1.57 GB, free: 7.473 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.5737, allocations: 0.8783 MB / 1.571 GB, free: 6.594 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.005795/0.5795, allocations: 3.575 MB / 1.575 GB, free: 2.805 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.5809, allocations: 0.5784 MB / 1.575 GB, free: 2.219 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.5816, allocations: 325.5 kB / 1.576 GB, free: 1.898 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5818, allocations: 31.97 kB / 1.576 GB, free: 1.867 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5818, allocations: 42.5 kB / 1.576 GB, free: 1.816 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.5818, allocations: 3.938 kB / 1.576 GB, free: 1.812 MB / 1.264 GB Notification: Performance of matching and sorting (n=41): time 0.004586/0.5864, allocations: 1.837 MB / 1.577 GB, free: 15.94 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.5865, allocations: 55.41 kB / 1.577 GB, free: 15.87 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.5874, allocations: 0.7783 MB / 1.578 GB, free: 15.09 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.5875, allocations: 41.69 kB / 1.578 GB, free: 15.04 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.5878, allocations: 460.4 kB / 1.579 GB, free: 14.59 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.588, allocations: 154.7 kB / 1.579 GB, free: 14.43 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.5882, allocations: 106.3 kB / 1.579 GB, free: 14.32 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5883, allocations: 333.9 kB / 1.579 GB, free: 13.99 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.589, allocations: 305.1 kB / 1.58 GB, free: 13.69 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.5899, allocations: 444.5 kB / 1.58 GB, free: 13.21 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.005001/0.5949, allocations: 1.855 MB / 1.582 GB, free: 11.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5949, allocations: 0 / 1.582 GB, free: 11.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001881/0.5968, allocations: 0.843 MB / 1.583 GB, free: 10.45 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5968, allocations: 4 kB / 1.583 GB, free: 10.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5968, allocations: 4 kB / 1.583 GB, free: 10.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.5968, allocations: 12 kB / 1.583 GB, free: 10.43 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.5976, allocations: 167.8 kB / 1.583 GB, free: 10.27 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.5976, allocations: 11.94 kB / 1.583 GB, free: 10.26 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/0.5984, allocations: 65.39 kB / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.5985, allocations: 23.94 kB / 1.583 GB, free: 10.17 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.0004338/0.5989, allocations: 281.5 kB / 1.583 GB, free: 9.887 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.5991, allocations: 91.42 kB / 1.583 GB, free: 9.797 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.5993, allocations: 100.1 kB / 1.583 GB, free: 9.695 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5993, allocations: 4 kB / 1.583 GB, free: 9.691 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5993, allocations: 0 / 1.583 GB, free: 9.691 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001498/0.6008, allocations: 0.6873 MB / 1.584 GB, free: 8.973 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003857/0.6046, allocations: 1.886 MB / 1.586 GB, free: 6.996 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6046, allocations: 4 kB / 1.586 GB, free: 6.992 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.6054, allocations: 144.2 kB / 1.586 GB, free: 6.852 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6054, allocations: 4 kB / 1.586 GB, free: 6.848 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.6054, allocations: 15.98 kB / 1.586 GB, free: 6.832 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.6054, allocations: 4 kB / 1.586 GB, free: 6.828 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6054, allocations: 7.938 kB / 1.586 GB, free: 6.82 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.6078, allocations: 1.229 MB / 1.587 GB, free: 5.531 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.6083, allocations: 163.3 kB / 1.587 GB, free: 5.371 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6084, allocations: 11.98 kB / 1.587 GB, free: 5.359 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.6091, allocations: 57.75 kB / 1.587 GB, free: 5.305 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.6092, allocations: 47.81 kB / 1.588 GB, free: 5.258 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.6093, allocations: 23.98 kB / 1.588 GB, free: 5.234 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007343/0.61, allocations: 0.5419 MB / 1.588 GB, free: 4.699 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.61, allocations: 0 / 1.588 GB, free: 4.699 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008392/0.6109, allocations: 247.9 kB / 1.588 GB, free: 4.457 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.0003638/0.6112, allocations: 195 kB / 1.588 GB, free: 4.258 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.6129, allocations: 0.6621 MB / 1.589 GB, free: 3.598 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6129, allocations: 0 / 1.589 GB, free: 3.598 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000729/0.6136, allocations: 325 kB / 1.589 GB, free: 3.281 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.6158, allocations: 0.5359 MB / 1.59 GB, free: 2.754 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.6199, allocations: 1.963 MB / 1.592 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.6206, allocations: 1.04 MB / 1.593 GB, free: 15.64 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.6209, allocations: 75.42 kB / 1.593 GB, free: 15.57 MB / 1.295 GB Notification: Performance of SimCode: time 1.042e-06/0.6209, allocations: 0 / 1.593 GB, free: 15.57 MB / 1.295 GB Notification: Performance of Templates: time 0.02187/0.6427, allocations: 15.19 MB / 1.608 GB, free: 0.5312 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/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: 13.580677639023634]