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.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.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.001448/0.001448, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001598/0.001598, allocations: 187 kB / 17.34 MB, free: 5.742 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8441, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2103/1.054, allocations: 171 MB / 1.256 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00713/1.062, allocations: 4.291 MB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/1.063, allocations: 23.88 kB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/1.064, allocations: 370 kB / 1.26 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004557/1.069, allocations: 1.027 MB / 1.261 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/1.072, allocations: 0.8173 MB / 1.262 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002353/1.074, allocations: 1.298 MB / 1.263 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/1.075, allocations: 487.3 kB / 1.264 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/1.077, allocations: 0.6888 MB / 1.264 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/1.078, allocations: 452.8 kB / 1.265 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.078, allocations: 52 kB / 1.265 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/1.08, allocations: 0.9199 MB / 1.266 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/1.081, allocations: 219.4 kB / 1.266 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003856/1.081, allocations: 326.5 kB / 1.266 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/1.083, allocations: 1.131 MB / 1.267 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.083, allocations: 0 / 1.267 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.083, allocations: 0 / 1.267 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.8e-05/1.083, allocations: 0 / 1.267 GB, free: 6.605 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.001821/1.084, allocations: 0.9544 MB / 1.268 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.084, allocations: 12.02 kB / 1.268 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/1.086, allocations: 259 kB / 1.269 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/1.087, allocations: 0.4896 MB / 1.269 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/1.087, allocations: 33 kB / 1.269 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/1.087, allocations: 40 kB / 1.269 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.088, allocations: 0.6184 MB / 1.27 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.088, allocations: 0 / 1.27 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/1.089, allocations: 20 kB / 1.27 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/1.089, allocations: 20.94 kB / 1.27 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/1.09, allocations: 0.5542 MB / 1.27 GB, free: 3.492 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.00398/1.094, allocations: 2.264 MB / 1.273 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/1.095, allocations: 278.3 kB / 1.273 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/1.095, allocations: 164.7 kB / 1.273 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/1.095, allocations: 3.938 kB / 1.273 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.095, allocations: 42.56 kB / 1.273 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.785e-06/1.095, allocations: 0 / 1.273 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005041/1.101, allocations: 1.084 MB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/1.101, allocations: 89.03 kB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/1.101, allocations: 0.5496 MB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/1.102, allocations: 29.7 kB / 1.275 GB, free: 14.78 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/1.102, allocations: 307.4 kB / 1.275 GB, free: 14.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/1.102, allocations: 35.53 kB / 1.275 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.102, allocations: 61.61 kB / 1.275 GB, free: 14.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.102, allocations: 358.8 kB / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/1.103, allocations: 183.8 kB / 1.276 GB, free: 13.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/1.103, allocations: 270.8 kB / 1.276 GB, free: 13.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.105, allocations: 405.9 kB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.105, allocations: 0 / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002664/1.107, allocations: 0.7225 MB / 1.277 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.107, allocations: 11.98 kB / 1.277 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.107, allocations: 0 / 1.277 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/1.108, allocations: 188.8 kB / 1.277 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/1.108, allocations: 75.88 kB / 1.277 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/1.112, allocations: 2.23 MB / 1.279 GB, free: 9.746 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/1.113, allocations: 75.55 kB / 1.279 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/1.113, allocations: 12 kB / 1.279 GB, free: 9.66 MB / 1.014 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.0003096/1.113, allocations: 193.7 kB / 1.28 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.113, allocations: 51.44 kB / 1.28 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/1.114, allocations: 51.98 kB / 1.28 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.114, allocations: 3.984 kB / 1.28 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/1.114, allocations: 0 / 1.28 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.114, allocations: 0 / 1.28 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/1.117, allocations: 1.137 MB / 1.281 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.117, allocations: 4 kB / 1.281 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/1.117, allocations: 48.02 kB / 1.281 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/1.117, allocations: 172.7 kB / 1.281 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/1.117, allocations: 15.98 kB / 1.281 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/1.121, allocations: 2.187 MB / 1.283 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.121, allocations: 0 / 1.283 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/1.124, allocations: 0.6963 MB / 1.284 GB, free: 4.859 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/1.124, allocations: 168.5 kB / 1.284 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.124, allocations: 4.188 kB / 1.284 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/1.125, allocations: 55.89 kB / 1.284 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/1.125, allocations: 11.92 kB / 1.284 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/1.125, allocations: 19.92 kB / 1.284 GB, free: 4.586 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005133/1.125, allocations: 398.8 kB / 1.285 GB, free: 4.199 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.125, allocations: 0 / 1.285 GB, free: 4.199 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007151/1.126, allocations: 183.7 kB / 1.285 GB, free: 4.02 MB / 1.014 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.0004365/1.127, allocations: 170.3 kB / 1.285 GB, free: 3.855 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001618/1.128, allocations: 0.518 MB / 1.285 GB, free: 3.324 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.128, allocations: 4 kB / 1.285 GB, free: 3.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007217/1.129, allocations: 295 kB / 1.286 GB, free: 3.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.13, allocations: 306 kB / 1.286 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.133, allocations: 1.109 MB / 1.287 GB, free: 1.574 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.134, allocations: 0.8582 MB / 1.288 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.134, allocations: 39.42 kB / 1.288 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.134, allocations: 0 / 1.288 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of Templates: time 0.01655/1.151, allocations: 11.13 MB / 1.299 GB, free: 5.609 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches