Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005036/0.005036, allocations: 104.6 kB / 15.74 MB, free: 6.016 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.001135/0.001135, allocations: 191.5 kB / 16.67 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 71.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9154, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1911/1.107, allocations: 171.5 MB / 1.388 GB, free: 6.004 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006669/1.113, allocations: 4.288 MB / 1.392 GB, free: 1.707 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006447/1.114, allocations: 23.88 kB / 1.392 GB, free: 1.684 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/1.115, allocations: 370 kB / 1.393 GB, free: 1.32 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002345/1.117, allocations: 1.031 MB / 1.394 GB, free: 292 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/1.119, allocations: 0.8215 MB / 1.394 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001547/1.121, allocations: 1.29 MB / 1.396 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005572/1.121, allocations: 414.8 kB / 1.396 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/1.123, allocations: 0.6966 MB / 1.397 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009446/1.123, allocations: 449 kB / 1.397 GB, free: 12.63 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.767e-05/1.124, allocations: 52 kB / 1.397 GB, free: 12.58 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/1.125, allocations: 0.9199 MB / 1.398 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.125, allocations: 219.3 kB / 1.398 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/1.126, allocations: 330.5 kB / 1.399 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/1.127, allocations: 1.133 MB / 1.4 GB, free: 9.98 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.127, allocations: 4 kB / 1.4 GB, free: 9.977 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.433e-06/1.127, allocations: 0 / 1.4 GB, free: 9.977 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.324e-05/1.127, allocations: 0 / 1.4 GB, free: 9.977 MB / 1.123 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.00155/1.129, allocations: 0.9688 MB / 1.401 GB, free: 8.957 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.129, allocations: 12.03 kB / 1.401 GB, free: 8.945 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/1.13, allocations: 259.4 kB / 1.401 GB, free: 8.691 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/1.131, allocations: 0.5017 MB / 1.401 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/1.131, allocations: 32.94 kB / 1.401 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/1.131, allocations: 40 kB / 1.402 GB, free: 8.082 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.132, allocations: 0.6107 MB / 1.402 GB, free: 7.445 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.132, allocations: 7.938 kB / 1.402 GB, free: 7.438 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-05/1.132, allocations: 20 kB / 1.402 GB, free: 7.418 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.132, allocations: 17 kB / 1.402 GB, free: 7.402 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/1.134, allocations: 0.5464 MB / 1.403 GB, free: 6.852 MB / 1.123 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.0037/1.137, allocations: 2.281 MB / 1.405 GB, free: 4.441 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/1.138, allocations: 270.3 kB / 1.405 GB, free: 4.168 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/1.139, allocations: 168.7 kB / 1.405 GB, free: 4 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/1.139, allocations: 7.938 kB / 1.405 GB, free: 3.992 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.139, allocations: 34.56 kB / 1.405 GB, free: 3.949 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/1.139, allocations: 224 / 1.405 GB, free: 3.949 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.004927/1.144, allocations: 1.092 MB / 1.406 GB, free: 2.828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.144, allocations: 85.03 kB / 1.407 GB, free: 2.727 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/1.144, allocations: 0.5573 MB / 1.407 GB, free: 2.16 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/1.144, allocations: 29.7 kB / 1.407 GB, free: 2.125 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/1.145, allocations: 304 kB / 1.407 GB, free: 1.824 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/1.145, allocations: 47.62 kB / 1.407 GB, free: 1.777 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.145, allocations: 57.66 kB / 1.407 GB, free: 1.715 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.145, allocations: 358.8 kB / 1.408 GB, free: 1.355 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/1.146, allocations: 187.8 kB / 1.408 GB, free: 1.172 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/1.146, allocations: 273.8 kB / 1.408 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.147, allocations: 401.9 kB / 1.409 GB, free: 460 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.147, allocations: 4 kB / 1.409 GB, free: 456 kB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002592/1.15, allocations: 0.7293 MB / 1.409 GB, free: 15.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.15, allocations: 4 kB / 1.409 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.15, allocations: 7.984 kB / 1.409 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/1.151, allocations: 180.8 kB / 1.41 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/1.151, allocations: 75.88 kB / 1.41 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.155, allocations: 2.229 MB / 1.412 GB, free: 13.08 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/1.155, allocations: 75.58 kB / 1.412 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.155, allocations: 16 kB / 1.412 GB, free: 12.99 MB / 1.139 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.0002412/1.155, allocations: 190.3 kB / 1.412 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/1.156, allocations: 59.66 kB / 1.412 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.781e-05/1.156, allocations: 47.98 kB / 1.412 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.156, allocations: 0 / 1.412 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/1.156, allocations: 192 / 1.412 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.156, allocations: 15.98 kB / 1.412 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/1.158, allocations: 1.121 MB / 1.413 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.158, allocations: 3.938 kB / 1.413 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/1.159, allocations: 39.95 kB / 1.413 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/1.159, allocations: 180.8 kB / 1.413 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.159, allocations: 7.984 kB / 1.414 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/1.163, allocations: 2.187 MB / 1.416 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.163, allocations: 4.125 kB / 1.416 GB, free: 8.922 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/1.165, allocations: 0.7043 MB / 1.416 GB, free: 8.191 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/1.165, allocations: 176.6 kB / 1.417 GB, free: 8 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/1.165, allocations: 11.98 kB / 1.417 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/1.166, allocations: 47.89 kB / 1.417 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/1.166, allocations: 15.92 kB / 1.417 GB, free: 7.926 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/1.166, allocations: 11.98 kB / 1.417 GB, free: 7.914 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004129/1.166, allocations: 394.8 kB / 1.417 GB, free: 7.531 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.166, allocations: 0 / 1.417 GB, free: 7.531 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005854/1.167, allocations: 175.8 kB / 1.417 GB, free: 7.359 MB / 1.139 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.0004046/1.167, allocations: 179 kB / 1.417 GB, free: 7.18 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001454/1.169, allocations: 0.5168 MB / 1.418 GB, free: 6.652 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.169, allocations: 4.062 kB / 1.418 GB, free: 6.648 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000657/1.169, allocations: 294.6 kB / 1.418 GB, free: 6.348 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.171, allocations: 303.7 kB / 1.418 GB, free: 6.055 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/1.174, allocations: 1.082 MB / 1.419 GB, free: 4.934 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/1.174, allocations: 0.8621 MB / 1.42 GB, free: 4.043 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003786/1.175, allocations: 104.5 kB / 1.42 GB, free: 3.941 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/1.175, allocations: 39.42 kB / 1.42 GB, free: 3.902 MB / 1.139 GB Notification: Performance of SimCode: time 4.1e-07/1.175, allocations: 4 kB / 1.42 GB, free: 3.898 MB / 1.139 GB Notification: Performance of Templates: time 0.0219/1.197, allocations: 12.49 MB / 1.433 GB, free: 7.59 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches