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.00177/0.00177, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002181/0.002181, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.407e-05, allocations: 9.125 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.7588/0.7588, allocations: 195.7 MB / 1.069 GB, free: 59.07 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008058/0.7669, allocations: 5.445 MB / 1.074 GB, free: 59.02 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.7681, allocations: 52.59 kB / 1.074 GB, free: 59.02 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.7694, allocations: 0.5613 MB / 1.075 GB, free: 59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.7733, allocations: 1.739 MB / 1.076 GB, free: 58.93 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.7763, allocations: 1.256 MB / 1.078 GB, free: 58.9 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.7795, allocations: 2.648 MB / 1.08 GB, free: 58.8 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.7806, allocations: 0.7163 MB / 1.081 GB, free: 58.74 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.7831, allocations: 1.584 MB / 1.082 GB, free: 58.59 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.7849, allocations: 0.8147 MB / 1.083 GB, free: 58.5 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.7851, allocations: 95.06 kB / 1.083 GB, free: 58.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.7876, allocations: 1.282 MB / 1.085 GB, free: 58.39 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.788, allocations: 443.8 kB / 1.085 GB, free: 58.33 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.7885, allocations: 430.9 kB / 1.085 GB, free: 58.28 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.791, allocations: 2.067 MB / 1.087 GB, free: 58.1 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.791, allocations: 0 / 1.087 GB, free: 58.1 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.613e-06/0.791, allocations: 0.8438 kB / 1.087 GB, free: 58.1 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.791, allocations: 0 / 1.087 GB, free: 58.1 MB / 1.01 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.001953/0.793, allocations: 1.369 MB / 1.089 GB, free: 57.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.793, allocations: 9.469 kB / 1.089 GB, free: 57.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.7956, allocations: 0.5084 MB / 1.089 GB, free: 57.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.7969, allocations: 0.7784 MB / 1.09 GB, free: 57.06 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.797, allocations: 60.94 kB / 1.09 GB, free: 57.05 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.7971, allocations: 82 kB / 1.09 GB, free: 57.05 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7988, allocations: 1.369 MB / 1.092 GB, free: 56.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.7988, allocations: 0.5625 kB / 1.092 GB, free: 56.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.7989, allocations: 32.56 kB / 1.092 GB, free: 56.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.799, allocations: 33.64 kB / 1.092 GB, free: 56.49 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.8007, allocations: 0.8738 MB / 1.092 GB, free: 56.49 MB / 1.01 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.005122/0.8059, allocations: 2.654 MB / 1.095 GB, free: 55.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.8074, allocations: 0.5742 MB / 1.096 GB, free: 55.75 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007492/0.8082, allocations: 326.5 kB / 1.096 GB, free: 55.75 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.8083, allocations: 29.48 kB / 1.096 GB, free: 55.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8083, allocations: 39.75 kB / 1.096 GB, free: 55.71 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.8083, allocations: 0 / 1.096 GB, free: 55.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.004934/0.8133, allocations: 1.832 MB / 1.098 GB, free: 55.35 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.8133, allocations: 59.75 kB / 1.098 GB, free: 55.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.814, allocations: 0.6346 MB / 1.098 GB, free: 55.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.8141, allocations: 39.36 kB / 1.098 GB, free: 55.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.8143, allocations: 460.6 kB / 1.099 GB, free: 54.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.8144, allocations: 155 kB / 1.099 GB, free: 54.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.8146, allocations: 109.6 kB / 1.099 GB, free: 54.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.8147, allocations: 377.2 kB / 1.1 GB, free: 54.44 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008001/0.8155, allocations: 309.3 kB / 1.1 GB, free: 54.44 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008975/0.8164, allocations: 0.5319 MB / 1.1 GB, free: 54.18 MB / 1.01 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.005478/0.8219, allocations: 1.858 MB / 1.102 GB, free: 54.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8219, allocations: 1.156 kB / 1.102 GB, free: 54.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002161/0.8241, allocations: 0.8595 MB / 1.103 GB, free: 53.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.8241, allocations: 7.594 kB / 1.103 GB, free: 53.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.8241, allocations: 2.844 kB / 1.103 GB, free: 53.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-05/0.8242, allocations: 10.86 kB / 1.103 GB, free: 53.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.825, allocations: 168.7 kB / 1.103 GB, free: 53.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.825, allocations: 10.41 kB / 1.103 GB, free: 53.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/0.826, allocations: 62.16 kB / 1.103 GB, free: 53.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.8261, allocations: 28.27 kB / 1.103 GB, free: 53.95 MB / 1.01 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.0005111/0.8266, allocations: 275.5 kB / 1.104 GB, free: 53.83 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.8268, allocations: 92.09 kB / 1.104 GB, free: 53.79 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.827, allocations: 80.16 kB / 1.104 GB, free: 53.78 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.827, allocations: 4.375 kB / 1.104 GB, free: 53.78 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.827, allocations: 5.969 kB / 1.104 GB, free: 53.78 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.8287, allocations: 0.692 MB / 1.104 GB, free: 53.61 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.8327, allocations: 1.676 MB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8327, allocations: 2.219 kB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009232/0.8337, allocations: 146.2 kB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.8337, allocations: 5.453 kB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.8337, allocations: 15.16 kB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.8337, allocations: 5.578 kB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8337, allocations: 8.656 kB / 1.106 GB, free: 53.26 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.8366, allocations: 1.216 MB / 1.107 GB, free: 52.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/0.8372, allocations: 152.8 kB / 1.108 GB, free: 52.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8373, allocations: 14.23 kB / 1.108 GB, free: 52.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008654/0.8381, allocations: 60.17 kB / 1.108 GB, free: 52.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.8383, allocations: 40.34 kB / 1.108 GB, free: 52.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.308e-05/0.8384, allocations: 29.28 kB / 1.108 GB, free: 52.92 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007131/0.8391, allocations: 436.7 kB / 1.108 GB, free: 52.83 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8391, allocations: 0.9688 kB / 1.108 GB, free: 52.83 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001081/0.8402, allocations: 247.1 kB / 1.108 GB, free: 52.82 MB / 1.01 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.0004296/0.8406, allocations: 199.9 kB / 1.108 GB, free: 52.73 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.8425, allocations: 0.66 MB / 1.109 GB, free: 52.72 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.8425, allocations: 2.938 kB / 1.109 GB, free: 52.72 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008649/0.8434, allocations: 324.5 kB / 1.109 GB, free: 52.72 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.8459, allocations: 454.8 kB / 1.11 GB, free: 52.67 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.8503, allocations: 1.82 MB / 1.112 GB, free: 51.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.8508, allocations: 458 kB / 1.112 GB, free: 51.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001019/0.8518, allocations: 195.4 kB / 1.112 GB, free: 51.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.8521, allocations: 65.41 kB / 1.112 GB, free: 51.71 MB / 1.01 GB Notification: Performance of SimCode: time 1.783e-06/0.8521, allocations: 0 / 1.112 GB, free: 51.71 MB / 1.01 GB Notification: Performance of Templates: time 0.02857/0.8807, allocations: 16.58 MB / 1.129 GB, free: 49.96 MB / 1.01 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.614109829999506]