Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.2 MB / 0.572 GB, free: 10.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009229/0.0009228, allocations: 98.11 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.207e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.89/7.138, allocations: 2.189 GB / 3.081 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/7.138, allocations: 86.27 kB / 3.081 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.457/8.596, allocations: 379.9 MB / 3.452 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/8.596, allocations: 4 kB / 3.452 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.877e-05/8.596, allocations: 12 kB / 3.452 GB, free: 103.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001884/8.598, allocations: 0.8723 MB / 3.453 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/8.598, allocations: 8.031 kB / 3.453 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/8.599, allocations: 263 kB / 3.453 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008758/8.6, allocations: 492.2 kB / 3.454 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/8.6, allocations: 96.88 kB / 3.454 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/8.6, allocations: 51.98 kB / 3.454 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/8.601, allocations: 0.5435 MB / 3.454 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/8.601, allocations: 7.922 kB / 3.454 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/8.601, allocations: 24 kB / 3.454 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/8.601, allocations: 24.98 kB / 3.454 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/8.602, allocations: 407.8 kB / 3.455 GB, free: 100.7 MB / 0.8698 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.003068/8.605, allocations: 2.177 MB / 3.457 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/8.605, allocations: 150.5 kB / 3.457 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/8.606, allocations: 88.83 kB / 3.457 GB, free: 98.13 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/8.606, allocations: 4 kB / 3.457 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/8.606, allocations: 34.56 kB / 3.457 GB, free: 98.08 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/8.606, allocations: 0 / 3.457 GB, free: 98.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001496/8.607, allocations: 437.6 kB / 3.458 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/8.607, allocations: 77.11 kB / 3.458 GB, free: 97.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/8.608, allocations: 0.4929 MB / 3.458 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/8.608, allocations: 33.7 kB / 3.458 GB, free: 97.01 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/8.608, allocations: 299.2 kB / 3.458 GB, free: 96.71 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/8.608, allocations: 47.33 kB / 3.458 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/8.608, allocations: 8 kB / 3.458 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/8.608, allocations: 359 kB / 3.459 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/8.608, allocations: 108 kB / 3.459 GB, free: 96.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/8.608, allocations: 195.9 kB / 3.459 GB, free: 95.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/8.609, allocations: 118 kB / 3.459 GB, free: 95.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/8.609, allocations: 4 kB / 3.459 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001511/8.61, allocations: 0.5613 MB / 3.46 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/8.61, allocations: 4.625 kB / 3.46 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/8.61, allocations: 4 kB / 3.46 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/8.611, allocations: 144.8 kB / 3.46 GB, free: 95.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/8.611, allocations: 67.95 kB / 3.46 GB, free: 95.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/8.613, allocations: 1.822 MB / 3.462 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/8.614, allocations: 103.5 kB / 3.462 GB, free: 93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/8.614, allocations: 12 kB / 3.462 GB, free: 92.99 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0001216/8.614, allocations: 116.9 kB / 3.462 GB, free: 92.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/8.614, allocations: 51.44 kB / 3.462 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/8.614, allocations: 60.25 kB / 3.462 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/8.614, allocations: 0 / 3.462 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/8.614, allocations: 0 / 3.462 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/8.614, allocations: 0 / 3.462 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/8.616, allocations: 0.9535 MB / 3.463 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/8.616, allocations: 4 kB / 3.463 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/8.616, allocations: 48.02 kB / 3.463 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/8.617, allocations: 128.8 kB / 3.463 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/8.617, allocations: 4 kB / 3.463 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/8.618, allocations: 1.78 MB / 3.465 GB, free: 89.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/8.618, allocations: 4.031 kB / 3.465 GB, free: 89.62 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/8.62, allocations: 0.5707 MB / 3.465 GB, free: 89.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/8.62, allocations: 168.4 kB / 3.466 GB, free: 88.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/8.62, allocations: 12 kB / 3.466 GB, free: 88.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/8.621, allocations: 60.12 kB / 3.466 GB, free: 88.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/8.621, allocations: 15.97 kB / 3.466 GB, free: 88.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/8.621, allocations: 15.98 kB / 3.466 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004755/8.621, allocations: 397.5 kB / 3.466 GB, free: 88.35 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.621, allocations: 0 / 3.466 GB, free: 88.35 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00129/8.623, allocations: 267.6 kB / 3.466 GB, free: 88.09 MB / 0.8698 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.001761/8.625, allocations: 0.9954 MB / 3.467 GB, free: 87.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000822/8.625, allocations: 373.2 kB / 3.468 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/8.625, allocations: 0 / 3.468 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002658/8.626, allocations: 222.4 kB / 3.468 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/8.627, allocations: 304.9 kB / 3.468 GB, free: 86.19 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/8.629, allocations: 0.7254 MB / 3.469 GB, free: 85.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/8.63, allocations: 0.8818 MB / 3.47 GB, free: 84.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004438/8.63, allocations: 96.52 kB / 3.47 GB, free: 84.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/8.63, allocations: 39.61 kB / 3.47 GB, free: 84.39 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/8.63, allocations: 0 / 3.47 GB, free: 84.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.03619/8.667, allocations: 26.22 MB / 3.496 GB, free: 58.24 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches