Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001009/0.001009, 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.001216/0.001216, 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.395 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.439/2.439, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 8 kB / 0.8153 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7895, allocations: 142.4 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1834/0.9729, allocations: 155.4 MB / 1.106 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00629/0.9793, allocations: 4.04 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006022/0.9799, allocations: 19.88 kB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.9808, allocations: 222.6 kB / 1.11 GB, free: 15.43 MB / 0.8731 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.00208/0.9829, allocations: 0.7385 MB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.9844, allocations: 0.6043 MB / 1.112 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.986, allocations: 1.52 MB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005341/0.9866, allocations: 360.4 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009817/0.9876, allocations: 0.5485 MB / 1.114 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.9882, allocations: 430.4 kB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.9883, allocations: 24 kB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.9895, allocations: 0.6198 MB / 1.115 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.9897, allocations: 179.4 kB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.9898, allocations: 145.4 kB / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009132/0.9907, allocations: 0.7911 MB / 1.116 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.9907, allocations: 3.984 kB / 1.116 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9908, allocations: 0 / 1.116 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.9908, allocations: 0 / 1.116 GB, free: 9.465 MB / 0.8731 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.001549/0.9923, allocations: 0.8454 MB / 1.117 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9924, allocations: 12.03 kB / 1.117 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.9939, allocations: 287 kB / 1.117 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.9947, allocations: 465.8 kB / 1.118 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.995, allocations: 100.9 kB / 1.118 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.995, allocations: 40 kB / 1.118 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.9963, allocations: 0.638 MB / 1.118 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.9963, allocations: 0 / 1.118 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.9964, allocations: 23.98 kB / 1.118 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.9964, allocations: 17 kB / 1.118 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.9978, allocations: 0.5855 MB / 1.119 GB, free: 6.355 MB / 0.8731 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.00385/1.002, allocations: 2.303 MB / 1.121 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/1.003, allocations: 314.3 kB / 1.122 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/1.003, allocations: 188.7 kB / 1.122 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/1.003, allocations: 3.984 kB / 1.122 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.003, allocations: 38.56 kB / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/1.003, allocations: 0 / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.004728/1.008, allocations: 1.189 MB / 1.123 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/1.008, allocations: 81.05 kB / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/1.009, allocations: 0.5495 MB / 1.124 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/1.009, allocations: 29.7 kB / 1.124 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/1.009, allocations: 295.5 kB / 1.124 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/1.009, allocations: 55.33 kB / 1.124 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/1.009, allocations: 4 kB / 1.124 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.009, allocations: 354.8 kB / 1.124 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/1.01, allocations: 211.8 kB / 1.125 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/1.01, allocations: 281.3 kB / 1.125 GB, free: 240 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/1.011, allocations: 226.6 kB / 1.125 GB, free: 16 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.011, allocations: 0 / 1.125 GB, free: 16 kB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002469/1.013, allocations: 0.7786 MB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.013, allocations: 8 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.014, allocations: 4 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/1.014, allocations: 196.8 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/1.014, allocations: 75.88 kB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/1.019, allocations: 2.191 MB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/1.019, allocations: 99.41 kB / 1.128 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/1.019, allocations: 11.98 kB / 1.128 GB, free: 12.51 MB / 0.8887 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.0002655/1.019, allocations: 197.5 kB / 1.128 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/1.02, allocations: 47.62 kB / 1.129 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.02, allocations: 52.03 kB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.02, allocations: 4 kB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.02, allocations: 8 kB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.02, allocations: 0 / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/1.023, allocations: 1.18 MB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.023, allocations: 8.062 kB / 1.13 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/1.023, allocations: 47.89 kB / 1.13 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/1.023, allocations: 192.7 kB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/1.023, allocations: 0 / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/1.027, allocations: 2.065 MB / 1.132 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.027, allocations: 192 / 1.132 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.029, allocations: 0.7554 MB / 1.133 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/1.029, allocations: 168.4 kB / 1.133 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/1.029, allocations: 8 kB / 1.133 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/1.03, allocations: 77.48 kB / 1.133 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/1.03, allocations: 11.97 kB / 1.133 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/1.03, allocations: 19.98 kB / 1.133 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004574/1.031, allocations: 386.8 kB / 1.133 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.031, allocations: 3.938 kB / 1.133 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006731/1.031, allocations: 187.8 kB / 1.134 GB, free: 6.859 MB / 0.8887 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.0004104/1.032, allocations: 175.4 kB / 1.134 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.034, allocations: 0.6435 MB / 1.134 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/1.034, allocations: 0 / 1.134 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/1.034, allocations: 323 kB / 1.135 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.036, allocations: 300.9 kB / 1.135 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/1.039, allocations: 1.251 MB / 1.136 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/1.039, allocations: 0.8624 MB / 1.137 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004492/1.04, allocations: 108.5 kB / 1.137 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/1.04, allocations: 31.44 kB / 1.137 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/1.04, allocations: 4 kB / 1.137 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of Templates: time 0.01952/1.059, allocations: 11.33 MB / 1.148 GB, free: 7.93 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches