Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 198 kB / 16.54 MB, free: 6.672 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.09 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3556, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1842/0.5399, allocations: 171 MB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007181/0.5471, allocations: 4.287 MB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007424/0.5479, allocations: 23.88 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.549, allocations: 346 kB / 1.24 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.5517, allocations: 0.9993 MB / 1.241 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.5539, allocations: 0.8014 MB / 1.242 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.5555, allocations: 1.3 MB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.5561, allocations: 491.2 kB / 1.243 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5573, allocations: 0.6693 MB / 1.244 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.5583, allocations: 450.7 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.421e-05/0.5584, allocations: 59.94 kB / 1.244 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.56, allocations: 0.9081 MB / 1.245 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.5602, allocations: 215.4 kB / 1.245 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.5605, allocations: 326.5 kB / 1.246 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.5619, allocations: 1.13 MB / 1.247 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5619, allocations: 4 kB / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5619, allocations: 0 / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.5619, allocations: 4 kB / 1.247 GB, free: 2.77 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001562/0.5635, allocations: 0.935 MB / 1.248 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5635, allocations: 12.03 kB / 1.248 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.5652, allocations: 270.9 kB / 1.248 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.566, allocations: 477.4 kB / 1.249 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.5663, allocations: 88.94 kB / 1.249 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.5664, allocations: 40 kB / 1.249 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5676, allocations: 0.6263 MB / 1.249 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5676, allocations: 0 / 1.249 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.5677, allocations: 16 kB / 1.249 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.5677, allocations: 21 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5693/1.137, allocations: 0.5512 MB / 1.25 GB, free: 187.1 MB / 0.9981 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.004108/1.141, allocations: 2.291 MB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.142, allocations: 292.7 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/1.143, allocations: 175.4 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.143, allocations: 5 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/1.143, allocations: 37.98 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.983e-06/1.143, allocations: 0.5938 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005448/1.148, allocations: 1.097 MB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.149, allocations: 93.67 kB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/1.149, allocations: 0.5462 MB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/1.149, allocations: 27.45 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.149, allocations: 301.2 kB / 1.255 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/1.149, allocations: 41.39 kB / 1.255 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.15, allocations: 64.34 kB / 1.255 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/1.15, allocations: 354.6 kB / 1.255 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/1.15, allocations: 196.9 kB / 1.255 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/1.151, allocations: 274.7 kB / 1.255 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.152, allocations: 418.8 kB / 1.256 GB, free: 185 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.152, allocations: 1.438 kB / 1.256 GB, free: 185 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002804/1.155, allocations: 0.7349 MB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.155, allocations: 6.5 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.155, allocations: 2.438 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/1.156, allocations: 190 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/1.156, allocations: 76.34 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/1.16, allocations: 2.231 MB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/1.16, allocations: 71.56 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/1.16, allocations: 11.44 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0002183/1.16, allocations: 204.3 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/1.161, allocations: 47.48 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/1.161, allocations: 51.89 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.161, allocations: 3.172 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/1.161, allocations: 0 / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.161, allocations: 0.5156 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/1.164, allocations: 1.152 MB / 1.261 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.164, allocations: 0 / 1.261 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/1.164, allocations: 43.77 kB / 1.261 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/1.164, allocations: 177.3 kB / 1.261 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.164, allocations: 11.78 kB / 1.261 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/1.168, allocations: 2.191 MB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.168, allocations: 8.344 kB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/1.17, allocations: 0.7069 MB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/1.17, allocations: 161.8 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/1.17, allocations: 7.344 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/1.171, allocations: 51.52 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.171, allocations: 17.81 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/1.171, allocations: 13.28 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004268/1.172, allocations: 392.8 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.172, allocations: 0 / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006201/1.172, allocations: 186 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.000379/1.173, allocations: 180.2 kB / 1.265 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.174, allocations: 0.5439 MB / 1.265 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.174, allocations: 1.438 kB / 1.265 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/1.175, allocations: 303.6 kB / 1.265 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.176, allocations: 303 kB / 1.266 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/1.179, allocations: 1.089 MB / 1.267 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/1.18, allocations: 0.8652 MB / 1.268 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000442/1.18, allocations: 112.2 kB / 1.268 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/1.18, allocations: 34.28 kB / 1.268 GB, free: 179 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.18, allocations: 1.719 kB / 1.268 GB, free: 179 MB / 0.9981 GB Notification: Performance of Templates: time 0.02354/1.204, allocations: 12.4 MB / 1.28 GB, free: 175.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches