Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001369/0.001369, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00136/0.00136, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9861/0.9861, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.799/1.799, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.7656 kB / 0.7871 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.582e-05, allocations: 5.406 kB / 0.7871 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1842/0.1842, allocations: 219.1 MB / 1.001 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007966/0.1922, allocations: 5.844 MB / 1.007 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.1934, allocations: 51.56 kB / 1.007 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.1947, allocations: 0.5627 MB / 1.007 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/0.1988, allocations: 1.978 MB / 1.009 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.2013, allocations: 1.246 MB / 1.011 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.2047, allocations: 3.057 MB / 1.014 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.2059, allocations: 0.7973 MB / 1.014 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.2079, allocations: 1.476 MB / 1.016 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.444/0.6518, allocations: 0.9345 MB / 1.017 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005035/0.6523, allocations: 109.8 kB / 1.017 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.6555, allocations: 1.214 MB / 1.018 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006879/0.6562, allocations: 0.4995 MB / 1.018 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.6574, allocations: 479.8 kB / 1.019 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.6615, allocations: 1.606 MB / 1.02 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6615, allocations: 1.203 kB / 1.02 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6615, allocations: 1.062 kB / 1.02 GB, free: 54.78 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.542e-05/0.6616, allocations: 0.6562 kB / 1.02 GB, free: 54.78 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003479/0.6651, allocations: 1.567 MB / 1.022 GB, free: 53.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.6651, allocations: 9.531 kB / 1.022 GB, free: 53.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.6669, allocations: 432.8 kB / 1.022 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.6685, allocations: 0.8061 MB / 1.023 GB, free: 53.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.6685, allocations: 65.56 kB / 1.023 GB, free: 53.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.6687, allocations: 93.09 kB / 1.023 GB, free: 53.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.6702, allocations: 1.055 MB / 1.024 GB, free: 52.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.6702, allocations: 2.031 kB / 1.024 GB, free: 52.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.6703, allocations: 40.28 kB / 1.024 GB, free: 52.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/0.6704, allocations: 32.31 kB / 1.024 GB, free: 52.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000944/0.6713, allocations: 355.4 kB / 1.025 GB, free: 52.89 MB / 0.9167 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.004949/0.6763, allocations: 2.196 MB / 1.027 GB, free: 52.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.6768, allocations: 274 kB / 1.027 GB, free: 52.37 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.6771, allocations: 130.1 kB / 1.027 GB, free: 52.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.6772, allocations: 26.3 kB / 1.027 GB, free: 52.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.6772, allocations: 54.36 kB / 1.027 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 3.317e-06/0.6773, allocations: 0.9375 kB / 1.027 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49): time 0.002634/0.6799, allocations: 1.052 MB / 1.028 GB, free: 51.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6799, allocations: 57.19 kB / 1.029 GB, free: 51.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.6807, allocations: 0.6325 MB / 1.029 GB, free: 51.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.6808, allocations: 38.59 kB / 1.029 GB, free: 51.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.6811, allocations: 0.5459 MB / 1.03 GB, free: 51.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.6813, allocations: 181.3 kB / 1.03 GB, free: 51.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.6815, allocations: 121.3 kB / 1.03 GB, free: 51.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6816, allocations: 0.5597 MB / 1.031 GB, free: 50.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.6819, allocations: 86.19 kB / 1.031 GB, free: 50.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.6822, allocations: 371.1 kB / 1.031 GB, free: 50.35 MB / 0.9167 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.001044/0.6833, allocations: 0.5754 MB / 1.032 GB, free: 50.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.6833, allocations: 1.5 kB / 1.032 GB, free: 50.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008514/0.6841, allocations: 0.4924 MB / 1.032 GB, free: 50.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.6841, allocations: 6.094 kB / 1.032 GB, free: 50.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6842, allocations: 4.094 kB / 1.032 GB, free: 50.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.6843, allocations: 45.91 kB / 1.032 GB, free: 50.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.6848, allocations: 138.2 kB / 1.032 GB, free: 50.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.6864, allocations: 3.531 MB / 1.036 GB, free: 46.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.687, allocations: 20.25 kB / 1.036 GB, free: 46.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.687, allocations: 26.44 kB / 1.036 GB, free: 46.59 MB / 0.9167 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003381/0.6874, allocations: 193.8 kB / 1.036 GB, free: 46.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6875, allocations: 100.1 kB / 1.036 GB, free: 46.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.6876, allocations: 87.16 kB / 1.036 GB, free: 46.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6876, allocations: 5.125 kB / 1.036 GB, free: 46.37 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6876, allocations: 0 / 1.036 GB, free: 46.37 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005594/0.6882, allocations: 0.5897 MB / 1.037 GB, free: 45.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.6902, allocations: 1.291 MB / 1.038 GB, free: 45.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.6902, allocations: 7.016 kB / 1.038 GB, free: 45.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.6906, allocations: 119.7 kB / 1.038 GB, free: 45.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.6907, allocations: 29.05 kB / 1.038 GB, free: 45.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.6907, allocations: 15 kB / 1.038 GB, free: 45.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006983/0.6914, allocations: 1.785 MB / 1.04 GB, free: 43.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6914, allocations: 6.641 kB / 1.04 GB, free: 43.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.6923, allocations: 0.7134 MB / 1.04 GB, free: 43.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.6926, allocations: 143.5 kB / 1.041 GB, free: 43.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.6926, allocations: 13.5 kB / 1.041 GB, free: 43.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.6931, allocations: 28.91 kB / 1.041 GB, free: 43.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6932, allocations: 50.73 kB / 1.041 GB, free: 43.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.6932, allocations: 26.33 kB / 1.041 GB, free: 43.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004143/0.6936, allocations: 405.9 kB / 1.041 GB, free: 43.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6936, allocations: 0.9062 kB / 1.041 GB, free: 43.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00102/0.6947, allocations: 281.2 kB / 1.041 GB, free: 43.12 MB / 0.9167 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000318/0.695, allocations: 176.8 kB / 1.042 GB, free: 43.03 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007862/0.6958, allocations: 0.6543 MB / 1.042 GB, free: 42.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6958, allocations: 4.406 kB / 1.042 GB, free: 42.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.696, allocations: 330.6 kB / 1.043 GB, free: 42.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6977, allocations: 0.4958 MB / 1.043 GB, free: 42.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.7003, allocations: 1.613 MB / 1.045 GB, free: 41.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.7005, allocations: 235.4 kB / 1.045 GB, free: 41.53 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006409/0.7011, allocations: 171.1 kB / 1.045 GB, free: 41.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.7013, allocations: 65.25 kB / 1.045 GB, free: 41.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.263e-06/0.7013, allocations: 0.9688 kB / 1.045 GB, free: 41.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.02361/0.7249, allocations: 18.05 MB / 1.063 GB, free: 39.84 MB / 0.9167 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.163953058188781]