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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.195/2.195, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 87.95 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.195e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.209, allocations: 1.982 GB / 3.201 GB, free: 228.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.21, allocations: 85.89 kB / 3.201 GB, free: 228.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.732/7.942, allocations: 399.4 MB / 3.591 GB, free: 282.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.284e-06/7.942, allocations: 0 / 3.591 GB, free: 282.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.16e-05/7.942, allocations: 15.98 kB / 3.591 GB, free: 282.7 MB / 1.151 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.003424/7.945, allocations: 0.8803 MB / 3.592 GB, free: 281.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.587e-05/7.945, allocations: 8.031 kB / 3.592 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/7.947, allocations: 259.1 kB / 3.592 GB, free: 281.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/7.949, allocations: 492.2 kB / 3.593 GB, free: 281 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/7.949, allocations: 100.9 kB / 3.593 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/7.949, allocations: 43.95 kB / 3.593 GB, free: 280.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/7.951, allocations: 0.5422 MB / 3.593 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/7.951, allocations: 0 / 3.593 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/7.951, allocations: 16 kB / 3.593 GB, free: 280.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/7.951, allocations: 21 kB / 3.593 GB, free: 280.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/7.952, allocations: 411.8 kB / 3.594 GB, free: 279.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004992/7.957, allocations: 2.157 MB / 3.596 GB, free: 277.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/7.958, allocations: 146.5 kB / 3.596 GB, free: 277.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/7.958, allocations: 88.83 kB / 3.596 GB, free: 277.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/7.958, allocations: 4 kB / 3.596 GB, free: 277.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/7.958, allocations: 30.56 kB / 3.596 GB, free: 277.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 2.986e-06/7.958, allocations: 0 / 3.596 GB, free: 277.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.001976/7.96, allocations: 441.6 kB / 3.597 GB, free: 276.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/7.96, allocations: 77.11 kB / 3.597 GB, free: 276.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/7.961, allocations: 496.9 kB / 3.597 GB, free: 276.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/7.961, allocations: 25.7 kB / 3.597 GB, free: 276.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/7.961, allocations: 307.2 kB / 3.598 GB, free: 275.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/7.961, allocations: 47.39 kB / 3.598 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/7.961, allocations: 4 kB / 3.598 GB, free: 275.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001526/7.961, allocations: 358.8 kB / 3.598 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/7.962, allocations: 107.9 kB / 3.598 GB, free: 275.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/7.962, allocations: 185.6 kB / 3.598 GB, free: 275.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/7.962, allocations: 121.6 kB / 3.598 GB, free: 275 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/7.962, allocations: 0 / 3.598 GB, free: 275 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001785/7.964, allocations: 0.5564 MB / 3.599 GB, free: 274.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/7.964, allocations: 11.98 kB / 3.599 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/7.964, allocations: 8.094 kB / 3.599 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/7.964, allocations: 132.7 kB / 3.599 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/7.965, allocations: 75.94 kB / 3.599 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/7.968, allocations: 1.929 MB / 3.601 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/7.969, allocations: 95.45 kB / 3.601 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/7.969, allocations: 12 kB / 3.601 GB, free: 272.1 MB / 1.151 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 () * 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.0001407/7.969, allocations: 120.9 kB / 3.601 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/7.969, allocations: 47.44 kB / 3.601 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/7.969, allocations: 48.17 kB / 3.601 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/7.969, allocations: 0 / 3.601 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/7.969, allocations: 3.984 kB / 3.601 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/7.969, allocations: 7.953 kB / 3.601 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/7.971, allocations: 0.9418 MB / 3.602 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/7.971, allocations: 0 / 3.602 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/7.971, allocations: 43.95 kB / 3.602 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/7.972, allocations: 132.8 kB / 3.602 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/7.972, allocations: 0 / 3.602 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/7.974, allocations: 1.815 MB / 3.604 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/7.974, allocations: 0 / 3.604 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/7.975, allocations: 0.5553 MB / 3.605 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/7.976, allocations: 168.4 kB / 3.605 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/7.976, allocations: 4 kB / 3.605 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/7.976, allocations: 71.88 kB / 3.605 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/7.976, allocations: 7.984 kB / 3.605 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/7.976, allocations: 15.98 kB / 3.605 GB, free: 267.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004213/7.977, allocations: 385.5 kB / 3.605 GB, free: 267.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.977, allocations: 0 / 3.605 GB, free: 267.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001196/7.978, allocations: 267.7 kB / 3.606 GB, free: 267.2 MB / 1.151 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 () * 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.001841/7.98, allocations: 1.007 MB / 3.607 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00122/7.981, allocations: 459.5 kB / 3.607 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/7.981, allocations: 0 / 3.607 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/7.981, allocations: 222.8 kB / 3.607 GB, free: 265.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/7.983, allocations: 296 kB / 3.607 GB, free: 265.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/7.985, allocations: 0.7128 MB / 3.608 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/7.986, allocations: 0.8779 MB / 3.609 GB, free: 263.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005185/7.986, allocations: 92.7 kB / 3.609 GB, free: 263.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/7.986, allocations: 39.42 kB / 3.609 GB, free: 263.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.21e-07/7.986, allocations: 7.938 kB / 3.609 GB, free: 263.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03546/8.022, allocations: 25.88 MB / 3.634 GB, free: 237.7 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches