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.0008796/0.0008796, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001158/0.001158, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8966/0.8966, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.735/1.735, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.465e-06/2.465e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.559e-05/3.805e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.6778/0.6778, allocations: 195.7 MB / 1.192 GB, free: 7.539 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.008327/0.6861, allocations: 5.446 MB / 1.197 GB, free: 3.844 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.6876, allocations: 53.78 kB / 1.197 GB, free: 3.816 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.689, allocations: 0.5718 MB / 1.198 GB, free: 3.496 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.693, allocations: 1.733 MB / 1.2 GB, free: 2.531 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.6959, allocations: 1.272 MB / 1.201 GB, free: 1.867 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00342/0.6993, allocations: 2.632 MB / 1.203 GB, free: 0.6367 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.7005, allocations: 0.6824 MB / 1.204 GB, free: 324 kB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.7036, allocations: 1.586 MB / 1.206 GB, free: 15.61 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.7055, allocations: 0.7816 MB / 1.206 GB, free: 15.36 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.7057, allocations: 95.94 kB / 1.207 GB, free: 15.36 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.7083, allocations: 1.28 MB / 1.208 GB, free: 14.93 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.7088, allocations: 443 kB / 1.208 GB, free: 14.72 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.7096, allocations: 420.9 kB / 1.209 GB, free: 14.54 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.7131, allocations: 2.059 MB / 1.211 GB, free: 13.23 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7131, allocations: 3.469 kB / 1.211 GB, free: 13.23 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7131, allocations: 0 / 1.211 GB, free: 13.23 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.087e-05/0.7132, allocations: 0 / 1.211 GB, free: 13.23 MB / 1.057 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.002544/0.7157, allocations: 1.377 MB / 1.212 GB, free: 12.2 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7157, allocations: 10.34 kB / 1.212 GB, free: 12.2 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.7173, allocations: 435.8 kB / 1.212 GB, free: 12 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.7185, allocations: 0.7275 MB / 1.213 GB, free: 11.46 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.7186, allocations: 58.62 kB / 1.213 GB, free: 11.44 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.7186, allocations: 73.84 kB / 1.213 GB, free: 11.41 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.7201, allocations: 1.357 MB / 1.215 GB, free: 10.37 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.7201, allocations: 11.25 kB / 1.215 GB, free: 10.36 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.7202, allocations: 31.53 kB / 1.215 GB, free: 10.34 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.7202, allocations: 31.05 kB / 1.215 GB, free: 10.34 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7214, allocations: 0.8732 MB / 1.216 GB, free: 9.91 MB / 1.057 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.003686/0.7251, allocations: 2.621 MB / 1.218 GB, free: 8.117 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008524/0.7259, allocations: 0.5817 MB / 1.219 GB, free: 7.812 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004009/0.7263, allocations: 326.7 kB / 1.219 GB, free: 7.652 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.7264, allocations: 19.73 kB / 1.219 GB, free: 7.648 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.7265, allocations: 44.31 kB / 1.219 GB, free: 7.602 MB / 1.057 GB Notification: Performance of pre-optimization done (n=39): time 2.265e-06/0.7265, allocations: 4 kB / 1.219 GB, free: 7.598 MB / 1.057 GB Notification: Performance of matching and sorting (n=41): time 0.003236/0.7297, allocations: 1.817 MB / 1.221 GB, free: 6.57 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.7297, allocations: 64.36 kB / 1.221 GB, free: 6.5 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.7304, allocations: 0.6292 MB / 1.221 GB, free: 6.129 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.7305, allocations: 38.86 kB / 1.222 GB, free: 6.09 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.7307, allocations: 471.6 kB / 1.222 GB, free: 5.68 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.7308, allocations: 149.6 kB / 1.222 GB, free: 5.551 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.731, allocations: 107.4 kB / 1.222 GB, free: 5.484 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7311, allocations: 374.9 kB / 1.223 GB, free: 5.125 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.7315, allocations: 312.6 kB / 1.223 GB, free: 4.973 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.7321, allocations: 0.5345 MB / 1.223 GB, free: 4.547 MB / 1.057 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.003081/0.7352, allocations: 1.855 MB / 1.225 GB, free: 3.602 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7352, allocations: 0 / 1.225 GB, free: 3.602 MB / 1.057 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001226/0.7364, allocations: 0.8351 MB / 1.226 GB, free: 3.172 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.7364, allocations: 11.97 kB / 1.226 GB, free: 3.168 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7364, allocations: 3.531 kB / 1.226 GB, free: 3.168 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.7365, allocations: 6.062 kB / 1.226 GB, free: 3.168 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.7369, allocations: 171.5 kB / 1.226 GB, free: 3.117 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.7369, allocations: 4.812 kB / 1.226 GB, free: 3.117 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.7374, allocations: 57.69 kB / 1.226 GB, free: 3.09 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.7375, allocations: 20.28 kB / 1.226 GB, free: 3.086 MB / 1.057 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.0004713/0.7379, allocations: 279.2 kB / 1.227 GB, free: 2.875 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.738, allocations: 80.91 kB / 1.227 GB, free: 2.832 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.7382, allocations: 80.3 kB / 1.227 GB, free: 2.766 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7382, allocations: 5.219 kB / 1.227 GB, free: 2.766 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.7382, allocations: 4 kB / 1.227 GB, free: 2.762 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008872/0.7391, allocations: 0.6864 MB / 1.227 GB, free: 2.34 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.7415, allocations: 1.678 MB / 1.229 GB, free: 1.254 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7415, allocations: 5.812 kB / 1.229 GB, free: 1.254 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.7419, allocations: 142.7 kB / 1.229 GB, free: 1.211 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7419, allocations: 5.031 kB / 1.229 GB, free: 1.211 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.742, allocations: 16.09 kB / 1.229 GB, free: 1.203 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.742, allocations: 14.36 kB / 1.229 GB, free: 1.195 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.742, allocations: 6.719 kB / 1.229 GB, free: 1.191 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.7435, allocations: 1.206 MB / 1.23 GB, free: 356 kB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.7438, allocations: 147.5 kB / 1.231 GB, free: 208 kB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.7438, allocations: 15.92 kB / 1.231 GB, free: 192 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.7442, allocations: 67.89 kB / 1.231 GB, free: 124 kB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.7443, allocations: 35.89 kB / 1.231 GB, free: 88 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.7443, allocations: 27.97 kB / 1.231 GB, free: 60 kB / 1.057 GB Notification: Performance of sorting global known variables: time 0.00041/0.7447, allocations: 439 kB / 1.231 GB, free: 15.64 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.7447, allocations: 0 / 1.231 GB, free: 15.64 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007809/0.7455, allocations: 243.9 kB / 1.231 GB, free: 15.4 MB / 1.073 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.0003303/0.7459, allocations: 208.3 kB / 1.231 GB, free: 15.2 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.7469, allocations: 0.6779 MB / 1.232 GB, free: 14.52 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7469, allocations: 0 / 1.232 GB, free: 14.52 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.7473, allocations: 321 kB / 1.232 GB, free: 14.21 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.7485, allocations: 421.9 kB / 1.233 GB, free: 13.81 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.7514, allocations: 1.842 MB / 1.235 GB, free: 11.89 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.7518, allocations: 450.3 kB / 1.235 GB, free: 11.42 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.752, allocations: 68.48 kB / 1.235 GB, free: 11.36 MB / 1.073 GB Notification: Performance of SimCode: time 1.072e-06/0.752, allocations: 0 / 1.235 GB, free: 11.36 MB / 1.073 GB Notification: Performance of Templates: time 0.0175/0.7695, allocations: 14.05 MB / 1.249 GB, free: 13.41 MB / 1.089 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] "" 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: 8.585148751735687]