Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001008/0.001008, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001297/0.001297, allocations: 172.7 kB / 15.95 MB, free: 208 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.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005029, allocations: 12 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.602, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.1962/0.7983, allocations: 201.5 MB / 1.219 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008131/0.8064, allocations: 5.406 MB / 1.224 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.8075, allocations: 35.75 kB / 1.224 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.8087, allocations: 397.5 kB / 1.225 GB, free: 176 kB / 0.9669 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.003162/0.8118, allocations: 1.213 MB / 1.226 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.8144, allocations: 0.8952 MB / 1.227 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.8178, allocations: 2.987 MB / 1.23 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.8188, allocations: 0.671 MB / 1.23 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.8204, allocations: 0.8675 MB / 1.231 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.8215, allocations: 0.7822 MB / 1.232 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.8216, allocations: 36 kB / 1.232 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.8237, allocations: 0.9276 MB / 1.233 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.8241, allocations: 347 kB / 1.233 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.8244, allocations: 233.1 kB / 1.234 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.8258, allocations: 1.391 MB / 1.235 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8258, allocations: 0 / 1.235 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8258, allocations: 3.984 kB / 1.235 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8259, allocations: 0 / 1.235 GB, free: 5.805 MB / 0.9825 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.001928/0.8278, allocations: 1.235 MB / 1.236 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8278, allocations: 8.031 kB / 1.236 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.8304, allocations: 438.3 kB / 1.237 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.8317, allocations: 0.742 MB / 1.237 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.832, allocations: 121.9 kB / 1.237 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.8321, allocations: 76 kB / 1.237 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.8339, allocations: 1.006 MB / 1.238 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.8339, allocations: 3.984 kB / 1.238 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.834, allocations: 32 kB / 1.239 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.8341, allocations: 30 kB / 1.239 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.8359, allocations: 0.9173 MB / 1.239 GB, free: 1.098 MB / 0.9825 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.4973/1.333, allocations: 3.522 MB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.335, allocations: 0.6427 MB / 1.244 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008581/1.336, allocations: 362.9 kB / 1.244 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/1.336, allocations: 104.1 kB / 1.244 GB, free: 217.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.336, allocations: 41 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/1.336, allocations: 2.812 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.005137/1.341, allocations: 1.996 MB / 1.246 GB, free: 216.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.341, allocations: 62.55 kB / 1.246 GB, free: 216.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.342, allocations: 0.7702 MB / 1.247 GB, free: 215.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/1.343, allocations: 38.17 kB / 1.247 GB, free: 215.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.343, allocations: 450.4 kB / 1.247 GB, free: 215.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/1.343, allocations: 146 kB / 1.247 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/1.343, allocations: 10.28 kB / 1.247 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/1.343, allocations: 324.9 kB / 1.248 GB, free: 215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008104/1.344, allocations: 336 kB / 1.248 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/1.345, allocations: 457.1 kB / 1.248 GB, free: 214.7 MB / 0.9825 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.003908/1.349, allocations: 1.349 MB / 1.25 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.349, allocations: 1.312 kB / 1.25 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002034/1.351, allocations: 0.8828 MB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.351, allocations: 7.141 kB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.351, allocations: 3.25 kB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.351, allocations: 5.906 kB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/1.352, allocations: 184.4 kB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.352, allocations: 11.41 kB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/1.353, allocations: 96.86 kB / 1.251 GB, free: 214 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/1.353, allocations: 22.73 kB / 1.251 GB, free: 214 MB / 0.9825 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.0004501/1.353, allocations: 281.7 kB / 1.251 GB, free: 213.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/1.353, allocations: 87.73 kB / 1.251 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/1.354, allocations: 94.89 kB / 1.251 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.354, allocations: 7.609 kB / 1.251 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.354, allocations: 0.7969 kB / 1.251 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/1.355, allocations: 0.7351 MB / 1.252 GB, free: 213.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/1.36, allocations: 1.961 MB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/1.36, allocations: 3.281 kB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/1.36, allocations: 162 kB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/1.36, allocations: 7.312 kB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/1.361, allocations: 21.61 kB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/1.361, allocations: 4.531 kB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.361, allocations: 4.875 kB / 1.254 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.363, allocations: 1.279 MB / 1.255 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/1.363, allocations: 244.6 kB / 1.256 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.364, allocations: 11.45 kB / 1.256 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/1.364, allocations: 95.41 kB / 1.256 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/1.364, allocations: 36.78 kB / 1.256 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/1.365, allocations: 27.12 kB / 1.256 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000689/1.365, allocations: 0.535 MB / 1.256 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.365, allocations: 0 / 1.256 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008833/1.366, allocations: 247.2 kB / 1.257 GB, free: 211.4 MB / 0.9825 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.0004497/1.367, allocations: 211.7 kB / 1.257 GB, free: 211.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001696/1.368, allocations: 0.7127 MB / 1.258 GB, free: 211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.368, allocations: 3.609 kB / 1.258 GB, free: 211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/1.369, allocations: 356.9 kB / 1.258 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.371, allocations: 0.519 MB / 1.258 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/1.375, allocations: 2.232 MB / 1.261 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/1.376, allocations: 1.04 MB / 1.262 GB, free: 208.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001007/1.377, allocations: 219.5 kB / 1.262 GB, free: 208.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/1.377, allocations: 67.5 kB / 1.262 GB, free: 208.8 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/1.377, allocations: 4 kB / 1.262 GB, free: 208.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.02379/1.401, allocations: 17.19 MB / 1.279 GB, free: 196.9 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches