Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001387/0.001387, allocations: 198.1 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 63.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8305, allocations: 140.3 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2119/1.042, allocations: 188.4 MB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009685/1.052, allocations: 5.795 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/1.054, allocations: 35.75 kB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/1.055, allocations: 0.4974 MB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/1.06, allocations: 1.536 MB / 1.141 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/1.064, allocations: 1.088 MB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004766/1.068, allocations: 3.533 MB / 1.145 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/1.07, allocations: 0.7405 MB / 1.146 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/1.072, allocations: 0.9102 MB / 1.147 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/1.075, allocations: 0.8392 MB / 1.147 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003385/1.075, allocations: 52 kB / 1.148 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/1.08, allocations: 1.73 MB / 1.149 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009228/1.08, allocations: 362.9 kB / 1.15 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/1.082, allocations: 0.5326 MB / 1.15 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/1.087, allocations: 2.053 MB / 1.152 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.087, allocations: 0 / 1.152 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/1.087, allocations: 0 / 1.152 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.17e-05/1.087, allocations: 0 / 1.152 GB, free: 1.332 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003698/1.09, allocations: 1.435 MB / 1.153 GB, free: 15.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.091, allocations: 11.97 kB / 1.154 GB, free: 15.83 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/1.094, allocations: 418.2 kB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/1.096, allocations: 0.757 MB / 1.155 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/1.096, allocations: 117.9 kB / 1.155 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.096, allocations: 80 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.099, allocations: 0.9982 MB / 1.156 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.099, allocations: 0 / 1.156 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.099, allocations: 36 kB / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/1.099, allocations: 30 kB / 1.156 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/1.101, allocations: 0.8783 MB / 1.157 GB, free: 12.46 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.007351/1.108, allocations: 3.509 MB / 1.16 GB, free: 8.773 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.11, allocations: 0.6297 MB / 1.161 GB, free: 8.137 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/1.111, allocations: 335 kB / 1.161 GB, free: 7.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/1.111, allocations: 105.8 kB / 1.161 GB, free: 7.688 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.111, allocations: 38.56 kB / 1.161 GB, free: 7.641 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/1.111, allocations: 0 / 1.161 GB, free: 7.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.009147/1.12, allocations: 2.42 MB / 1.164 GB, free: 5.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.12, allocations: 59.34 kB / 1.164 GB, free: 5.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.122, allocations: 0.7979 MB / 1.164 GB, free: 4.266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.94e-05/1.122, allocations: 37.7 kB / 1.164 GB, free: 4.223 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/1.122, allocations: 455.6 kB / 1.165 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/1.122, allocations: 141.9 kB / 1.165 GB, free: 3.629 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/1.123, allocations: 106.2 kB / 1.165 GB, free: 3.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.123, allocations: 330 kB / 1.165 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/1.124, allocations: 304.9 kB / 1.166 GB, free: 2.891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/1.124, allocations: 416.1 kB / 1.166 GB, free: 2.449 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.005705/1.13, allocations: 1.898 MB / 1.168 GB, free: 0.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.13, allocations: 0 / 1.168 GB, free: 0.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003442/1.134, allocations: 1.054 MB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.134, allocations: 4 kB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.134, allocations: 4 kB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/1.134, allocations: 184.8 kB / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/1.135, allocations: 151.8 kB / 1.169 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/1.139, allocations: 2.08 MB / 1.171 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.14, allocations: 83.77 kB / 1.171 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/1.141, allocations: 23.98 kB / 1.171 GB, free: 12.78 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005126/1.141, allocations: 281.6 kB / 1.172 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.141, allocations: 83.06 kB / 1.172 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.142, allocations: 100.2 kB / 1.172 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.142, allocations: 4 kB / 1.172 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.142, allocations: 0 / 1.172 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003151/1.145, allocations: 0.9068 MB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/1.15, allocations: 2.109 MB / 1.175 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.15, allocations: 11.92 kB / 1.175 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/1.151, allocations: 128.2 kB / 1.175 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/1.152, allocations: 188.7 kB / 1.175 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/1.152, allocations: 19.92 kB / 1.175 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/1.155, allocations: 2.034 MB / 1.177 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.155, allocations: 7.938 kB / 1.177 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/1.16, allocations: 1.427 MB / 1.179 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005623/1.16, allocations: 240 kB / 1.179 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/1.16, allocations: 11.98 kB / 1.179 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.162, allocations: 89.89 kB / 1.179 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.162, allocations: 39.83 kB / 1.179 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/1.162, allocations: 27.98 kB / 1.179 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008665/1.163, allocations: 0.5576 MB / 1.18 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/1.163, allocations: 0 / 1.18 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001077/1.164, allocations: 268 kB / 1.18 GB, free: 3.91 MB / 0.9356 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 (37): * Single equations (assignments): 36 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005662/1.164, allocations: 216.3 kB / 1.18 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002244/1.167, allocations: 0.813 MB / 1.181 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.167, allocations: 3.938 kB / 1.181 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/1.168, allocations: 463.5 kB / 1.181 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/1.17, allocations: 0.5239 MB / 1.182 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/1.175, allocations: 2.249 MB / 1.184 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/1.176, allocations: 1.044 MB / 1.185 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009764/1.177, allocations: 211.1 kB / 1.185 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/1.178, allocations: 67.36 kB / 1.185 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/1.178, allocations: 3.938 kB / 1.185 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.03565/1.213, allocations: 19.72 MB / 1.204 GB, free: 10.77 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches