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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001726/0.001726, allocations: 175.7 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001024/0.001024, allocations: 95.41 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.609e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2816, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.015/6.297, allocations: 1.982 GB / 3.194 GB, free: 303.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.298, allocations: 85.56 kB / 3.194 GB, free: 303.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.85/8.148, allocations: 399.3 MB / 3.584 GB, free: 325.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.31e-06/8.148, allocations: 3.781 kB / 3.584 GB, free: 325.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001252/8.148, allocations: 19.66 kB / 3.584 GB, free: 325.9 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.004052/8.152, allocations: 0.8641 MB / 3.585 GB, free: 325.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.866e-05/8.152, allocations: 7.469 kB / 3.585 GB, free: 325.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/8.155, allocations: 265.3 kB / 3.585 GB, free: 325.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/8.157, allocations: 480.9 kB / 3.586 GB, free: 325.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/8.157, allocations: 101.3 kB / 3.586 GB, free: 325.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/8.157, allocations: 41.41 kB / 3.586 GB, free: 325.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/8.159, allocations: 0.5449 MB / 3.586 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/8.159, allocations: 3.281 kB / 3.586 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/8.159, allocations: 24.48 kB / 3.586 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/8.159, allocations: 22.25 kB / 3.586 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/8.16, allocations: 411.7 kB / 3.587 GB, free: 325 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.005331/8.165, allocations: 2.158 MB / 3.589 GB, free: 324.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/8.166, allocations: 147.4 kB / 3.589 GB, free: 324.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/8.166, allocations: 88.2 kB / 3.589 GB, free: 324.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/8.166, allocations: 7.688 kB / 3.589 GB, free: 324.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/8.166, allocations: 30.56 kB / 3.589 GB, free: 324 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 4.449e-06/8.166, allocations: 2.875 kB / 3.589 GB, free: 324 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.00197/8.168, allocations: 440.5 kB / 3.589 GB, free: 323.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/8.168, allocations: 81.05 kB / 3.59 GB, free: 323.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/8.169, allocations: 488.1 kB / 3.59 GB, free: 323.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/8.169, allocations: 33.3 kB / 3.59 GB, free: 323.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/8.169, allocations: 303.7 kB / 3.59 GB, free: 323.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/8.169, allocations: 38.59 kB / 3.59 GB, free: 323.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/8.169, allocations: 5.844 kB / 3.59 GB, free: 323.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001314/8.169, allocations: 357 kB / 3.591 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/8.17, allocations: 110 kB / 3.591 GB, free: 323.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/8.17, allocations: 192 kB / 3.591 GB, free: 323.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/8.17, allocations: 122.1 kB / 3.591 GB, free: 323.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/8.17, allocations: 0 / 3.591 GB, free: 323.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001751/8.172, allocations: 0.5635 MB / 3.592 GB, free: 323.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/8.172, allocations: 4.875 kB / 3.592 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/8.172, allocations: 3.812 kB / 3.592 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/8.172, allocations: 128.6 kB / 3.592 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/8.173, allocations: 80.75 kB / 3.592 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/8.176, allocations: 1.939 MB / 3.594 GB, free: 321.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/8.177, allocations: 87.27 kB / 3.594 GB, free: 321.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/8.177, allocations: 10.81 kB / 3.594 GB, free: 321.8 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.0001523/8.177, allocations: 126 kB / 3.594 GB, free: 321.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/8.177, allocations: 45.97 kB / 3.594 GB, free: 321.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/8.177, allocations: 49.67 kB / 3.594 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/8.177, allocations: 7.406 kB / 3.594 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/8.177, allocations: 0 / 3.594 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/8.177, allocations: 192 / 3.594 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/8.18, allocations: 0.9612 MB / 3.595 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/8.18, allocations: 3.844 kB / 3.595 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/8.18, allocations: 41.66 kB / 3.595 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/8.18, allocations: 135.5 kB / 3.595 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/8.18, allocations: 3.312 kB / 3.595 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/8.182, allocations: 1.8 MB / 3.597 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/8.182, allocations: 1.938 kB / 3.597 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/8.184, allocations: 0.5583 MB / 3.598 GB, free: 319.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/8.185, allocations: 167.7 kB / 3.598 GB, free: 319.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/8.185, allocations: 96 / 3.598 GB, free: 319.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/8.185, allocations: 70.19 kB / 3.598 GB, free: 319.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/8.185, allocations: 13.92 kB / 3.598 GB, free: 319.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/8.185, allocations: 15.2 kB / 3.598 GB, free: 319.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005781/8.186, allocations: 387.6 kB / 3.598 GB, free: 319.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/8.186, allocations: 0 / 3.598 GB, free: 319.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001483/8.188, allocations: 263.8 kB / 3.598 GB, free: 319.1 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.002507/8.19, allocations: 1.014 MB / 3.599 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001431/8.191, allocations: 456.1 kB / 3.6 GB, free: 318.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/8.192, allocations: 0 / 3.6 GB, free: 318.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/8.192, allocations: 219 kB / 3.6 GB, free: 318.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/8.193, allocations: 294.7 kB / 3.6 GB, free: 318.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/8.196, allocations: 0.7188 MB / 3.601 GB, free: 318.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/8.197, allocations: 0.8699 MB / 3.602 GB, free: 317.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006072/8.197, allocations: 105 kB / 3.602 GB, free: 317.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/8.197, allocations: 32.31 kB / 3.602 GB, free: 317.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/8.197, allocations: 192 / 3.602 GB, free: 317.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04966/8.247, allocations: 25.88 MB / 3.627 GB, free: 311.3 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches