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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001036/0.001036, 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.001351/0.001351, 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 12.47 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 159.6 MB / 1.058 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.157/0.4239, allocations: 155.4 MB / 1.21 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.4296, allocations: 4.024 MB / 1.214 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.4302, allocations: 19.88 kB / 1.214 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.4309, allocations: 226.6 kB / 1.214 GB, free: 5.281 MB / 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:730:36-731: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:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001726/0.4326, allocations: 0.7502 MB / 1.215 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.4342, allocations: 0.5953 MB / 1.215 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.4357, allocations: 1.516 MB / 1.217 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.4362, allocations: 360.4 kB / 1.217 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009212/0.4372, allocations: 0.5524 MB / 1.218 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.4378, allocations: 430.4 kB / 1.218 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.4378, allocations: 24 kB / 1.218 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.4389, allocations: 0.6198 MB / 1.219 GB, free: 452 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.4391, allocations: 187.4 kB / 1.219 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.4393, allocations: 137.5 kB / 1.219 GB, free: 120 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008355/0.4401, allocations: 0.7912 MB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4401, allocations: 4 kB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4401, allocations: 0 / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4402, allocations: 3.938 kB / 1.22 GB, free: 15.32 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0014/0.4416, allocations: 0.8493 MB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4416, allocations: 8.031 kB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.4432, allocations: 283.1 kB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.4439, allocations: 477.7 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.4442, allocations: 100.9 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.4443, allocations: 40 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.4455, allocations: 0.6302 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4456, allocations: 0 / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.4456, allocations: 24 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.4457, allocations: 24.92 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.4471, allocations: 0.5816 MB / 1.223 GB, free: 12.2 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.003711/0.4508, allocations: 2.296 MB / 1.225 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/0.4517, allocations: 310.3 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.4523, allocations: 192.7 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4523, allocations: 7.891 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4524, allocations: 38.56 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.4524, allocations: 0 / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.004785/0.4571, allocations: 1.189 MB / 1.227 GB, free: 8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4572, allocations: 81.11 kB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.4578, allocations: 0.538 MB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.4579, allocations: 33.7 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4581, allocations: 299.5 kB / 1.228 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.4581, allocations: 39.45 kB / 1.228 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.4582, allocations: 8 kB / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4583, allocations: 362.7 kB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.4589, allocations: 207.8 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/0.4595, allocations: 289.8 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.4601, allocations: 213 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4601, allocations: 4 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002494/0.4626, allocations: 0.7769 MB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4627, allocations: 15.95 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4627, allocations: 0 / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.4633, allocations: 196.6 kB / 1.23 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.4637, allocations: 79.88 kB / 1.23 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/0.4677, allocations: 2.182 MB / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.4684, allocations: 95.47 kB / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4684, allocations: 16.19 kB / 1.232 GB, free: 2.371 MB / 0.9825 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 (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 prepare postOptimizeDAE: time 0.0002591/0.4687, allocations: 186.3 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.4688, allocations: 59.39 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.4689, allocations: 48.03 kB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4689, allocations: 4 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4689, allocations: 0 / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.4689, allocations: 7.984 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.4719, allocations: 1.172 MB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4719, allocations: 7.922 kB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.4721, allocations: 48.02 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.4727, allocations: 188.7 kB / 1.234 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4727, allocations: 7.984 kB / 1.234 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/0.4759, allocations: 2.061 MB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4759, allocations: 4.25 kB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.4783, allocations: 0.759 MB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.4786, allocations: 168.5 kB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.4787, allocations: 7.984 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/0.4793, allocations: 72.62 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4793, allocations: 7.984 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.4794, allocations: 15.98 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004556/0.4798, allocations: 398.8 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4798, allocations: 0 / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006757/0.4805, allocations: 175.8 kB / 1.237 GB, free: 12.74 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 (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.0003773/0.4809, allocations: 178.8 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.483, allocations: 0.6467 MB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.483, allocations: 3.938 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/0.4837, allocations: 311 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.4851, allocations: 307.5 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.4881, allocations: 1.266 MB / 1.24 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4885, allocations: 0.8663 MB / 1.241 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004772/0.489, allocations: 96.52 kB / 1.241 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.843e-05/0.4891, allocations: 39.44 kB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.4891, allocations: 3.938 kB / 1.241 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of Templates: time 0.4865/0.9756, allocations: 11.34 MB / 1.252 GB, free: 187.6 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