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.001248/0.001248, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001795/0.001795, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.406 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.476/2.476, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.723, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2273/0.9503, allocations: 201.5 MB / 1.151 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008714/0.9591, allocations: 5.413 MB / 1.156 GB, free: 48 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.9604, allocations: 35.75 kB / 1.157 GB, free: 12 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.9617, allocations: 397.5 kB / 1.157 GB, free: 15.62 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003431/0.9652, allocations: 1.221 MB / 1.158 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.968, allocations: 0.9045 MB / 1.159 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.9716, allocations: 2.987 MB / 1.162 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.9726, allocations: 0.671 MB / 1.163 GB, free: 9.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.9743, allocations: 0.8635 MB / 1.163 GB, free: 8.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.9755, allocations: 0.7822 MB / 1.164 GB, free: 8.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.9756, allocations: 40 kB / 1.164 GB, free: 8.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.9777, allocations: 0.9198 MB / 1.165 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.9781, allocations: 339 kB / 1.165 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.9784, allocations: 233.1 kB / 1.166 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.9799, allocations: 1.399 MB / 1.167 GB, free: 5.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.98, allocations: 3.938 kB / 1.167 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.98, allocations: 4 kB / 1.167 GB, free: 5.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.98, allocations: 4 kB / 1.167 GB, free: 5.23 MB / 0.92 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.001967/0.982, allocations: 1.219 MB / 1.168 GB, free: 3.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.982, allocations: 12.03 kB / 1.168 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.9845, allocations: 438.3 kB / 1.169 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9859, allocations: 0.7439 MB / 1.169 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.9862, allocations: 117.9 kB / 1.169 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.9863, allocations: 79.91 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.9881, allocations: 1.014 MB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.9882, allocations: 0 / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.9883, allocations: 32 kB / 1.171 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.9883, allocations: 37.94 kB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.9901, allocations: 0.9134 MB / 1.171 GB, free: 0.5195 MB / 0.92 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.005555/0.9957, allocations: 3.525 MB / 1.175 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.9972, allocations: 0.6453 MB / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.998, allocations: 358.4 kB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.9982, allocations: 97.09 kB / 1.176 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.9982, allocations: 54.42 kB / 1.176 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 2.995e-06/0.9982, allocations: 4 kB / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.004701/1.003, allocations: 1.981 MB / 1.178 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.003, allocations: 55.41 kB / 1.178 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/1.004, allocations: 0.7744 MB / 1.179 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/1.004, allocations: 33.7 kB / 1.179 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/1.004, allocations: 455.5 kB / 1.179 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.004, allocations: 149.9 kB / 1.179 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/1.004, allocations: 8 kB / 1.179 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.005, allocations: 333.9 kB / 1.18 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/1.005, allocations: 324.9 kB / 1.18 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/1.006, allocations: 459.5 kB / 1.18 GB, free: 6.945 MB / 0.9356 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.003567/1.01, allocations: 1.342 MB / 1.182 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.01, allocations: 4 kB / 1.182 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001848/1.012, allocations: 0.8932 MB / 1.183 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.012, allocations: 4 kB / 1.183 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/1.012, allocations: 4 kB / 1.183 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.012, allocations: 8 kB / 1.183 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/1.012, allocations: 183.8 kB / 1.183 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/1.013, allocations: 8 kB / 1.183 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/1.013, allocations: 103.5 kB / 1.183 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/1.014, allocations: 20 kB / 1.183 GB, free: 4.363 MB / 0.9356 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.0005087/1.014, allocations: 283.5 kB / 1.183 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.014, allocations: 90.92 kB / 1.183 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/1.014, allocations: 92.08 kB / 1.183 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.014, allocations: 4 kB / 1.183 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.014, allocations: 4 kB / 1.183 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/1.016, allocations: 0.7341 MB / 1.184 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/1.02, allocations: 1.949 MB / 1.186 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.02, allocations: 12.03 kB / 1.186 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/1.021, allocations: 167.7 kB / 1.186 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.021, allocations: 8 kB / 1.186 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.021, allocations: 15.95 kB / 1.186 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.021, allocations: 11.94 kB / 1.186 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.021, allocations: 4 kB / 1.186 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/1.023, allocations: 1.271 MB / 1.188 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/1.023, allocations: 236.1 kB / 1.188 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.024, allocations: 19.98 kB / 1.188 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/1.024, allocations: 92.34 kB / 1.188 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/1.025, allocations: 39.89 kB / 1.188 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/1.025, allocations: 27.98 kB / 1.188 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006745/1.025, allocations: 0.5341 MB / 1.188 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.02e-07/1.025, allocations: 0 / 1.188 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008325/1.026, allocations: 244 kB / 1.189 GB, free: 14.34 MB / 0.9512 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.000465/1.027, allocations: 209.1 kB / 1.189 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.028, allocations: 0.7245 MB / 1.19 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.028, allocations: 4 kB / 1.19 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007261/1.029, allocations: 349.2 kB / 1.19 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.031, allocations: 0.5187 MB / 1.19 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/1.035, allocations: 2.224 MB / 1.193 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/1.036, allocations: 1.045 MB / 1.194 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008941/1.037, allocations: 223 kB / 1.194 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/1.037, allocations: 71.42 kB / 1.194 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/1.037, allocations: 0 / 1.194 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of Templates: time 0.0275/1.065, allocations: 17.17 MB / 1.211 GB, free: 7.984 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches