Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6671, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2033/0.8704, allocations: 182.1 MB / 1.131 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009328/0.8798, allocations: 5.655 MB / 1.137 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.8812, allocations: 31.75 kB / 1.137 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.883, allocations: 0.5716 MB / 1.137 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00546/0.8885, allocations: 1.679 MB / 1.139 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.892, allocations: 1.181 MB / 1.14 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002542/0.8945, allocations: 1.496 MB / 1.142 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009359/0.8955, allocations: 0.6789 MB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.8969, allocations: 0.7669 MB / 1.143 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.8976, allocations: 0.5213 MB / 1.144 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.613e-05/0.8977, allocations: 40 kB / 1.144 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.8998, allocations: 0.8931 MB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.9001, allocations: 319.1 kB / 1.145 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.9004, allocations: 233.1 kB / 1.145 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.9021, allocations: 1.36 MB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.9021, allocations: 0 / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9021, allocations: 0 / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.9022, allocations: 0 / 1.146 GB, free: 10.18 MB / 0.9044 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.002048/0.9042, allocations: 1.219 MB / 1.148 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.9043, allocations: 8.031 kB / 1.148 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.9069, allocations: 438.3 kB / 1.148 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.9084, allocations: 0.7382 MB / 1.149 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.9088, allocations: 133.9 kB / 1.149 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.9089, allocations: 79.91 kB / 1.149 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.9108, allocations: 0.9984 MB / 1.15 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.9108, allocations: 0 / 1.15 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.9109, allocations: 32 kB / 1.15 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.9109, allocations: 29.94 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.9129, allocations: 0.9135 MB / 1.151 GB, free: 5.496 MB / 0.9044 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.005891/0.9188, allocations: 3.532 MB / 1.154 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.9204, allocations: 0.6416 MB / 1.155 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.9205, allocations: 8.328 kB / 1.155 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.9205, allocations: 47.2 kB / 1.155 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/0.9205, allocations: 0 / 1.155 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of matching and sorting (n=41): time 0.005256/0.9258, allocations: 1.989 MB / 1.157 GB, free: 15.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.9259, allocations: 55.41 kB / 1.157 GB, free: 14.95 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.9268, allocations: 0.7744 MB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.9269, allocations: 33.7 kB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.9272, allocations: 455.5 kB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.9274, allocations: 145.9 kB / 1.158 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.9274, allocations: 12 kB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9275, allocations: 326 kB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000807/0.9283, allocations: 328.9 kB / 1.159 GB, free: 12.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008697/0.9292, allocations: 459.5 kB / 1.159 GB, free: 12.38 MB / 0.92 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.004002/0.9332, allocations: 1.35 MB / 1.161 GB, free: 11.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9332, allocations: 4 kB / 1.161 GB, free: 11.01 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002141/0.9354, allocations: 0.8816 MB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.9354, allocations: 8 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.9354, allocations: 7.984 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.9355, allocations: 4 kB / 1.162 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/0.9363, allocations: 183.8 kB / 1.162 GB, free: 9.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.9364, allocations: 7.938 kB / 1.162 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.9377, allocations: 103.8 kB / 1.162 GB, free: 9.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.9377, allocations: 20 kB / 1.162 GB, free: 9.793 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005712/0.9383, allocations: 285.5 kB / 1.162 GB, free: 9.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.9385, allocations: 87.02 kB / 1.162 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.9387, allocations: 92.08 kB / 1.162 GB, free: 9.324 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.9387, allocations: 4 kB / 1.162 GB, free: 9.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9387, allocations: 4 kB / 1.162 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/0.9404, allocations: 0.7305 MB / 1.163 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.9447, allocations: 1.958 MB / 1.165 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.9447, allocations: 4 kB / 1.165 GB, free: 6.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/0.9455, allocations: 164 kB / 1.165 GB, free: 6.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.9455, allocations: 4 kB / 1.165 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.9456, allocations: 15.95 kB / 1.165 GB, free: 6.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.9456, allocations: 4 kB / 1.165 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.9456, allocations: 11.94 kB / 1.165 GB, free: 6.301 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.9484, allocations: 1.429 MB / 1.167 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.949, allocations: 244 kB / 1.167 GB, free: 4.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.9491, allocations: 16 kB / 1.167 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.95, allocations: 95.89 kB / 1.167 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.9501, allocations: 31.91 kB / 1.167 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.9502, allocations: 35.94 kB / 1.167 GB, free: 4.301 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006918/0.9509, allocations: 0.5302 MB / 1.168 GB, free: 3.777 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9509, allocations: 0 / 1.168 GB, free: 3.777 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008375/0.9517, allocations: 256 kB / 1.168 GB, free: 3.527 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004962/0.9522, allocations: 201.5 kB / 1.168 GB, free: 3.332 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.9541, allocations: 0.7184 MB / 1.169 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9541, allocations: 11.94 kB / 1.169 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.9549, allocations: 352.3 kB / 1.169 GB, free: 2.258 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.9572, allocations: 0.4982 MB / 1.17 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.9615, allocations: 2.217 MB / 1.172 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.9622, allocations: 1.064 MB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009238/0.9631, allocations: 223 kB / 1.173 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.9633, allocations: 67.42 kB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.9633, allocations: 3.938 kB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.02839/0.9917, allocations: 17.18 MB / 1.19 GB, free: 13.18 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches