Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009828, allocations: 91.84 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.001012/0.001012, 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.285 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.486/2.486, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004613, allocations: 16 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8225, allocations: 142.4 MB / 0.9544 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2009/1.024, allocations: 173.4 MB / 1.124 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01054/1.034, allocations: 5.425 MB / 1.129 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/1.036, allocations: 31.81 kB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/1.038, allocations: 409.4 kB / 1.129 GB, free: 11.75 MB / 0.8887 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.005496/1.043, allocations: 1.364 MB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/1.047, allocations: 0.8582 MB / 1.132 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005481/1.052, allocations: 3.45 MB / 1.135 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.054, allocations: 0.7062 MB / 1.136 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/1.056, allocations: 0.8752 MB / 1.137 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/1.058, allocations: 0.8716 MB / 1.137 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/1.058, allocations: 44 kB / 1.137 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/1.06, allocations: 0.6976 MB / 1.138 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/1.061, allocations: 390.8 kB / 1.139 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/1.061, allocations: 261.1 kB / 1.139 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/1.064, allocations: 1.481 MB / 1.14 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.064, allocations: 0 / 1.14 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.504e-06/1.064, allocations: 4 kB / 1.14 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.064, allocations: 0 / 1.14 GB, free: 0.7266 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002373/1.066, allocations: 1.293 MB / 1.141 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.066, allocations: 12.03 kB / 1.141 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.068, allocations: 318.2 kB / 1.142 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/1.069, allocations: 0.7856 MB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/1.069, allocations: 66 kB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.07, allocations: 88 kB / 1.143 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/1.071, allocations: 0.9131 MB / 1.144 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/1.071, allocations: 0 / 1.144 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/1.072, allocations: 43.94 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/1.072, allocations: 33.94 kB / 1.144 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/1.073, allocations: 0.8354 MB / 1.144 GB, free: 12.25 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.005263/1.078, allocations: 3.54 MB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/1.079, allocations: 0.4896 MB / 1.148 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/1.08, allocations: 298 kB / 1.149 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/1.08, allocations: 105.5 kB / 1.149 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/1.08, allocations: 43 kB / 1.149 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/1.08, allocations: 0 / 1.149 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.004065/1.084, allocations: 1.938 MB / 1.151 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.084, allocations: 59.84 kB / 1.151 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.085, allocations: 0.8058 MB / 1.152 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/1.085, allocations: 37.7 kB / 1.152 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.086, allocations: 471.3 kB / 1.152 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.086, allocations: 177.4 kB / 1.152 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/1.086, allocations: 12 kB / 1.152 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.086, allocations: 333.9 kB / 1.153 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/1.087, allocations: 249.1 kB / 1.153 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/1.087, allocations: 357.2 kB / 1.153 GB, free: 2.938 MB / 0.9044 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.002689/1.09, allocations: 1.006 MB / 1.154 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.09, allocations: 4 kB / 1.154 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001338/1.091, allocations: 0.7884 MB / 1.155 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.091, allocations: 8.344 kB / 1.155 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.091, allocations: 8 kB / 1.155 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/1.092, allocations: 93.64 kB / 1.155 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/1.092, allocations: 151.8 kB / 1.155 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/1.095, allocations: 3.055 MB / 1.158 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/1.096, allocations: 67.88 kB / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/1.096, allocations: 20 kB / 1.158 GB, free: 13.44 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: 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 (67): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005725/1.097, allocations: 305.6 kB / 1.159 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.097, allocations: 90.97 kB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/1.097, allocations: 100.7 kB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.097, allocations: 4 kB / 1.159 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.097, allocations: 0 / 1.159 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/1.098, allocations: 0.8544 MB / 1.16 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/1.101, allocations: 1.802 MB / 1.161 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.101, allocations: 4 kB / 1.161 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/1.102, allocations: 132.3 kB / 1.161 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/1.102, allocations: 72.8 kB / 1.161 GB, free: 9.887 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/1.102, allocations: 12 kB / 1.162 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/1.104, allocations: 1.659 MB / 1.163 GB, free: 8.074 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/1.104, allocations: 8 kB / 1.163 GB, free: 8.066 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/1.105, allocations: 1.088 MB / 1.164 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/1.106, allocations: 232 kB / 1.164 GB, free: 6.676 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.106, allocations: 12 kB / 1.164 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/1.107, allocations: 65.03 kB / 1.164 GB, free: 6.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.107, allocations: 51.84 kB / 1.165 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/1.107, allocations: 27.98 kB / 1.165 GB, free: 6.523 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000901/1.108, allocations: 0.5536 MB / 1.165 GB, free: 5.977 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/1.108, allocations: 0 / 1.165 GB, free: 5.977 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001047/1.109, allocations: 284 kB / 1.165 GB, free: 5.699 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005262/1.109, allocations: 200.7 kB / 1.166 GB, free: 5.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001417/1.111, allocations: 0.7961 MB / 1.166 GB, free: 4.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.111, allocations: 4 kB / 1.166 GB, free: 4.676 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006462/1.111, allocations: 420 kB / 1.167 GB, free: 4.254 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.114, allocations: 0.5937 MB / 1.167 GB, free: 3.672 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/1.118, allocations: 2.161 MB / 1.169 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/1.119, allocations: 1.087 MB / 1.171 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001013/1.12, allocations: 215.7 kB / 1.171 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/1.12, allocations: 63.44 kB / 1.171 GB, free: 40 kB / 0.92 GB Notification: Performance of SimCode: time 1.052e-06/1.12, allocations: 0 / 1.171 GB, free: 40 kB / 0.92 GB Notification: Performance of Templates: time 0.03623/1.156, allocations: 18.92 MB / 1.189 GB, free: 13.39 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches