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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0013/0.0013, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001193/0.001194, allocations: 194.5 kB / 17.35 MB, free: 5.762 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.755/1.755, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.258/5.258, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 71.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747/1.749, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.376/2.125, allocations: 171 MB / 1.375 GB, free: 1.941 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01725/2.143, allocations: 4.276 MB / 1.38 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/2.145, allocations: 27.81 kB / 1.38 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/2.147, allocations: 357.9 kB / 1.38 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005727/2.153, allocations: 0.9993 MB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005516/2.158, allocations: 0.8053 MB / 1.382 GB, free: 11.47 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004209/2.163, allocations: 1.286 MB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/2.164, allocations: 491.2 kB / 1.383 GB, free: 9.699 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/2.167, allocations: 0.6693 MB / 1.384 GB, free: 9.027 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/2.17, allocations: 451.4 kB / 1.385 GB, free: 8.586 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000333/2.17, allocations: 52 kB / 1.385 GB, free: 8.535 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/2.174, allocations: 0.916 MB / 1.385 GB, free: 7.617 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006363/2.175, allocations: 227.3 kB / 1.386 GB, free: 7.395 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/2.176, allocations: 326.5 kB / 1.386 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008896/2.185, allocations: 1.135 MB / 1.387 GB, free: 5.938 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/2.185, allocations: 4 kB / 1.387 GB, free: 5.934 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.636e-06/2.185, allocations: 0 / 1.387 GB, free: 5.934 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.464e-05/2.185, allocations: 0 / 1.387 GB, free: 5.934 MB / 1.107 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.003696/2.189, allocations: 0.9427 MB / 1.388 GB, free: 4.941 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/2.189, allocations: 8.031 kB / 1.388 GB, free: 4.934 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/2.192, allocations: 267 kB / 1.388 GB, free: 4.672 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/2.194, allocations: 0.4896 MB / 1.389 GB, free: 4.141 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/2.194, allocations: 33 kB / 1.389 GB, free: 4.109 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/2.194, allocations: 40 kB / 1.389 GB, free: 4.07 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00697/2.201, allocations: 0.6146 MB / 1.389 GB, free: 3.43 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/2.201, allocations: 0 / 1.389 GB, free: 3.43 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/2.202, allocations: 20 kB / 1.389 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.987e-05/2.202, allocations: 21 kB / 1.389 GB, free: 3.391 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/2.205, allocations: 0.5503 MB / 1.39 GB, free: 2.84 MB / 1.107 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.01079/2.215, allocations: 2.268 MB / 1.392 GB, free: 452 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/2.217, allocations: 286.3 kB / 1.393 GB, free: 156 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/2.218, allocations: 164.7 kB / 1.393 GB, free: 15.99 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/2.218, allocations: 3.938 kB / 1.393 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/2.218, allocations: 42.56 kB / 1.393 GB, free: 15.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 4.839e-06/2.218, allocations: 0 / 1.393 GB, free: 15.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.009586/2.228, allocations: 1.084 MB / 1.394 GB, free: 14.82 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/2.228, allocations: 81.11 kB / 1.394 GB, free: 14.72 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/2.229, allocations: 0.5496 MB / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/2.23, allocations: 29.7 kB / 1.394 GB, free: 14.12 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/2.23, allocations: 303.5 kB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.23, allocations: 39.44 kB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/2.23, allocations: 65.59 kB / 1.395 GB, free: 13.71 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002381/2.231, allocations: 358.7 kB / 1.395 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/2.232, allocations: 187.8 kB / 1.395 GB, free: 13.17 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/2.233, allocations: 270.5 kB / 1.396 GB, free: 12.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/2.235, allocations: 407 kB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/2.235, allocations: 0 / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.005007/2.24, allocations: 0.7277 MB / 1.397 GB, free: 11.71 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/2.24, allocations: 5.719 kB / 1.397 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/2.24, allocations: 4 kB / 1.397 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/2.241, allocations: 188.8 kB / 1.397 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/2.242, allocations: 67.88 kB / 1.397 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/2.25, allocations: 2.236 MB / 1.399 GB, free: 9.082 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/2.251, allocations: 75.55 kB / 1.399 GB, free: 9.008 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/2.251, allocations: 12 kB / 1.399 GB, free: 8.996 MB / 1.123 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.001028/2.252, allocations: 185.8 kB / 1.399 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/2.252, allocations: 55.34 kB / 1.399 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/2.252, allocations: 56.03 kB / 1.399 GB, free: 8.691 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/2.253, allocations: 3.938 kB / 1.399 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.253, allocations: 0 / 1.399 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/2.253, allocations: 164.5 kB / 1.4 GB, free: 8.508 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/2.253, allocations: 4 kB / 1.4 GB, free: 8.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/2.254, allocations: 43.94 kB / 1.4 GB, free: 8.461 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/2.254, allocations: 15.98 kB / 1.4 GB, free: 8.445 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004566/2.259, allocations: 0.6183 MB / 1.4 GB, free: 7.816 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002952/2.262, allocations: 0.7424 MB / 1.401 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008701/2.263, allocations: 164.6 kB / 1.401 GB, free: 6.898 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001017/2.264, allocations: 390.8 kB / 1.402 GB, free: 6.52 MB / 1.123 GB Notification: Performance of Backend: time 5.71e-07/2.264, allocations: 0 / 1.402 GB, free: 6.52 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003618/2.268, allocations: 0.6542 MB / 1.402 GB, free: 5.852 MB / 1.123 GB Notification: Performance of SimCode: time 0.005024/2.273, allocations: 1.529 MB / 1.404 GB, free: 4.281 MB / 1.123 GB Notification: Performance of Templates: time 0.05448/2.327, allocations: 14.34 MB / 1.418 GB, free: 6.105 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches