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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001985/0.001985, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.377/2.377, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8158, allocations: 140.4 MB / 0.9489 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1874/1.003, allocations: 168.8 MB / 1.114 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006645/1.01, allocations: 4.346 MB / 1.118 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007429/1.011, allocations: 19.88 kB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/1.012, allocations: 306.5 kB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002629/1.014, allocations: 0.9414 MB / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/1.017, allocations: 0.7134 MB / 1.12 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0022/1.019, allocations: 1.793 MB / 1.122 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/1.02, allocations: 422.8 kB / 1.122 GB, free: 248 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/1.022, allocations: 0.5952 MB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/1.023, allocations: 466.4 kB / 1.123 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/1.023, allocations: 28 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/1.025, allocations: 1.005 MB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/1.025, allocations: 195.3 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000495/1.026, allocations: 310.5 kB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/1.027, allocations: 1.137 MB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.027, allocations: 3.984 kB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/1.027, allocations: 0 / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.815e-05/1.028, allocations: 0 / 1.126 GB, free: 12.52 MB / 0.8887 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.001959/1.029, allocations: 0.9543 MB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/1.03, allocations: 8.031 kB / 1.127 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/1.031, allocations: 263 kB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/1.032, allocations: 485.4 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/1.033, allocations: 84.94 kB / 1.127 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/1.033, allocations: 44 kB / 1.127 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.034, allocations: 0.6224 MB / 1.128 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.034, allocations: 3.938 kB / 1.128 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/1.034, allocations: 24 kB / 1.128 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/1.034, allocations: 20.98 kB / 1.128 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/1.036, allocations: 0.5542 MB / 1.129 GB, free: 9.355 MB / 0.8887 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.004598/1.041, allocations: 2.276 MB / 1.131 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.042, allocations: 294.3 kB / 1.131 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/1.042, allocations: 172.6 kB / 1.131 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/1.042, allocations: 3.984 kB / 1.131 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/1.042, allocations: 38.78 kB / 1.131 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 3.917e-06/1.042, allocations: 4 kB / 1.131 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.005583/1.048, allocations: 1.099 MB / 1.132 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.048, allocations: 81.11 kB / 1.133 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008809/1.049, allocations: 0.5495 MB / 1.133 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/1.049, allocations: 29.7 kB / 1.133 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/1.049, allocations: 311.4 kB / 1.133 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/1.049, allocations: 39.45 kB / 1.133 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.05, allocations: 61.61 kB / 1.133 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.05, allocations: 358.8 kB / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/1.05, allocations: 195.8 kB / 1.134 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/1.051, allocations: 277.3 kB / 1.134 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.052, allocations: 417.7 kB / 1.135 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.052, allocations: 0 / 1.135 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002866/1.055, allocations: 0.7402 MB / 1.135 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.055, allocations: 8 kB / 1.135 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.055, allocations: 0 / 1.135 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006812/1.056, allocations: 192.8 kB / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/1.056, allocations: 67.89 kB / 1.136 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/1.06, allocations: 2.097 MB / 1.138 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/1.061, allocations: 83.39 kB / 1.138 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/1.061, allocations: 15.98 kB / 1.138 GB, free: 15.56 MB / 0.9044 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.0003182/1.062, allocations: 185.8 kB / 1.138 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.062, allocations: 51.44 kB / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/1.062, allocations: 52.03 kB / 1.138 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.062, allocations: 4 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.062, allocations: 3.938 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.062, allocations: 0 / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/1.065, allocations: 1.148 MB / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.065, allocations: 0 / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/1.065, allocations: 43.89 kB / 1.139 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000566/1.066, allocations: 188.7 kB / 1.139 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/1.066, allocations: 0 / 1.139 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003437/1.069, allocations: 2.038 MB / 1.141 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.069, allocations: 4.031 kB / 1.141 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/1.072, allocations: 0.7118 MB / 1.142 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/1.072, allocations: 164.6 kB / 1.142 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/1.073, allocations: 7.938 kB / 1.142 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/1.073, allocations: 59.78 kB / 1.142 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/1.073, allocations: 15.98 kB / 1.142 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/1.073, allocations: 7.984 kB / 1.142 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004729/1.074, allocations: 402.8 kB / 1.143 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.074, allocations: 0 / 1.143 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006785/1.075, allocations: 179.8 kB / 1.143 GB, free: 10.06 MB / 0.9044 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 () * Number of clocked 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 (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 Backend phase and start with SimCode phase: time 0.0004049/1.075, allocations: 177.3 kB / 1.143 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001597/1.077, allocations: 0.5335 MB / 1.144 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.077, allocations: 0 / 1.144 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/1.077, allocations: 307 kB / 1.144 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.079, allocations: 296 kB / 1.144 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/1.082, allocations: 1.24 MB / 1.145 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/1.083, allocations: 0.8662 MB / 1.146 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000488/1.083, allocations: 108.5 kB / 1.146 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/1.083, allocations: 35.44 kB / 1.146 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/1.083, allocations: 0 / 1.146 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of Templates: time 0.01985/1.103, allocations: 11.84 MB / 1.158 GB, free: 10.75 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches