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.001238/0.001238, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.001339/0.001339, allocations: 190.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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 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.185/2.185, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.831, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2187/1.05, allocations: 171 MB / 1.256 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007347/1.057, allocations: 4.29 MB / 1.26 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009949/1.058, allocations: 23.88 kB / 1.26 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/1.06, allocations: 370 kB / 1.26 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/1.063, allocations: 1.027 MB / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/1.065, allocations: 0.8126 MB / 1.262 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002066/1.067, allocations: 1.306 MB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007391/1.068, allocations: 483.2 kB / 1.264 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/1.07, allocations: 0.6927 MB / 1.264 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/1.071, allocations: 455.4 kB / 1.265 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/1.071, allocations: 52 kB / 1.265 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/1.073, allocations: 0.916 MB / 1.266 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/1.074, allocations: 215.4 kB / 1.266 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003883/1.074, allocations: 334.5 kB / 1.266 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/1.076, allocations: 1.13 MB / 1.267 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.076, allocations: 4 kB / 1.267 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/1.076, allocations: 0 / 1.267 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.076, allocations: 0 / 1.267 GB, free: 6.793 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.001818/1.078, allocations: 0.9466 MB / 1.268 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.078, allocations: 8.031 kB / 1.268 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/1.079, allocations: 267 kB / 1.269 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009957/1.08, allocations: 0.4896 MB / 1.269 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/1.08, allocations: 33 kB / 1.269 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/1.08, allocations: 36 kB / 1.269 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.082, allocations: 0.6184 MB / 1.27 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.082, allocations: 4 kB / 1.27 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/1.082, allocations: 16 kB / 1.27 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/1.082, allocations: 21 kB / 1.27 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/1.084, allocations: 0.5464 MB / 1.27 GB, free: 3.695 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.004397/1.088, allocations: 2.268 MB / 1.273 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/1.089, allocations: 282.3 kB / 1.273 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/1.09, allocations: 164.7 kB / 1.273 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/1.09, allocations: 7.938 kB / 1.273 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.09, allocations: 38.5 kB / 1.273 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.274e-06/1.09, allocations: 4 kB / 1.273 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005423/1.095, allocations: 1.084 MB / 1.274 GB, free: 15.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/1.095, allocations: 77.33 kB / 1.274 GB, free: 15.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/1.096, allocations: 0.5496 MB / 1.275 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/1.096, allocations: 25.7 kB / 1.275 GB, free: 14.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/1.096, allocations: 307.4 kB / 1.275 GB, free: 14.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/1.096, allocations: 43.53 kB / 1.275 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/1.096, allocations: 65.59 kB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.097, allocations: 354.7 kB / 1.275 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/1.097, allocations: 187.8 kB / 1.276 GB, free: 14.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/1.098, allocations: 270.7 kB / 1.276 GB, free: 13.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.099, allocations: 406.7 kB / 1.276 GB, free: 13.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.099, allocations: 0 / 1.276 GB, free: 13.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002873/1.102, allocations: 0.7299 MB / 1.277 GB, free: 12.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.102, allocations: 8 kB / 1.277 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.102, allocations: 0 / 1.277 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/1.103, allocations: 192.8 kB / 1.277 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/1.103, allocations: 67.89 kB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/1.108, allocations: 2.227 MB / 1.279 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/1.108, allocations: 75.48 kB / 1.279 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.108, allocations: 12 kB / 1.279 GB, free: 9.855 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.0003036/1.109, allocations: 186.6 kB / 1.28 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/1.109, allocations: 47.44 kB / 1.28 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/1.109, allocations: 52.03 kB / 1.28 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.109, allocations: 12.12 kB / 1.28 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.109, allocations: 4 kB / 1.28 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/1.109, allocations: 168.4 kB / 1.28 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.109, allocations: 4 kB / 1.28 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/1.11, allocations: 47.94 kB / 1.28 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/1.11, allocations: 11.98 kB / 1.28 GB, free: 9.305 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002468/1.113, allocations: 0.6183 MB / 1.281 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001903/1.114, allocations: 0.7437 MB / 1.281 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000567/1.115, allocations: 160.6 kB / 1.281 GB, free: 7.758 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004895/1.116, allocations: 394.8 kB / 1.282 GB, free: 7.375 MB / 1.014 GB Notification: Performance of Backend: time 4.01e-07/1.116, allocations: 0 / 1.282 GB, free: 7.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002234/1.118, allocations: 0.6566 MB / 1.282 GB, free: 6.707 MB / 1.014 GB Notification: Performance of SimCode: time 0.002667/1.12, allocations: 1.535 MB / 1.284 GB, free: 5.121 MB / 1.014 GB Notification: Performance of Templates: time 0.02544/1.146, allocations: 14.12 MB / 1.298 GB, free: 7.176 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