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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001845/0.001845, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 65.05 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3445, allocations: 157.4 MB / 1.052 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1894/0.5338, allocations: 168.7 MB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006843/0.5407, allocations: 4.266 MB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000812/0.5416, allocations: 19.88 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.5427, allocations: 306.5 kB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.545, allocations: 0.9375 MB / 1.222 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.547, allocations: 0.7337 MB / 1.223 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.5486, allocations: 1.298 MB / 1.224 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.5495, allocations: 471.3 kB / 1.225 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.551, allocations: 0.6733 MB / 1.226 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.5523, allocations: 488.5 kB / 1.226 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.5526, allocations: 52 kB / 1.226 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.5546, allocations: 0.9393 MB / 1.227 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.555, allocations: 211.4 kB / 1.227 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005958/0.5556, allocations: 330.5 kB / 1.227 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.5579, allocations: 1.172 MB / 1.229 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5579, allocations: 0 / 1.229 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5579, allocations: 4 kB / 1.229 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.5579, allocations: 4 kB / 1.229 GB, free: 3.512 MB / 0.9825 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.002004/0.56, allocations: 0.9388 MB / 1.23 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.56, allocations: 12.62 kB / 1.23 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.5618, allocations: 263 kB / 1.23 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.5628, allocations: 485.5 kB / 1.23 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.5632, allocations: 88.94 kB / 1.23 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.5633, allocations: 43.94 kB / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.5647, allocations: 0.6146 MB / 1.231 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5647, allocations: 0 / 1.231 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.5648, allocations: 20 kB / 1.231 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.5648, allocations: 24.94 kB / 1.231 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5663, allocations: 0.5581 MB / 1.232 GB, free: 376 kB / 0.9825 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.004257/0.5705, allocations: 2.295 MB / 1.234 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.5715, allocations: 294.2 kB / 1.234 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.5721, allocations: 176.7 kB / 1.234 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.5721, allocations: 4 kB / 1.234 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.5722, allocations: 30.56 kB / 1.234 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.5722, allocations: 0 / 1.234 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005305/0.5775, allocations: 1.115 MB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.5775, allocations: 77.11 kB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.5783, allocations: 0.5574 MB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.5784, allocations: 33.7 kB / 1.236 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.5786, allocations: 295.5 kB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.5786, allocations: 39.45 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.5788, allocations: 57.61 kB / 1.236 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5789, allocations: 358.8 kB / 1.237 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.5796, allocations: 195.8 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.5802, allocations: 274.5 kB / 1.237 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.5814, allocations: 417.7 kB / 1.238 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5814, allocations: 0 / 1.238 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002852/0.5842, allocations: 0.7394 MB / 1.238 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.5843, allocations: 9.344 kB / 1.238 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.5843, allocations: 4 kB / 1.238 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.5849, allocations: 176.7 kB / 1.239 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.5853, allocations: 75.88 kB / 1.239 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.5895, allocations: 2.254 MB / 1.241 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.5902, allocations: 79.48 kB / 1.241 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.5903, allocations: 11.98 kB / 1.241 GB, free: 6.406 MB / 0.9981 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.0002845/0.5906, allocations: 189.8 kB / 1.241 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5907, allocations: 47.44 kB / 1.241 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.5908, allocations: 59.97 kB / 1.241 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5908, allocations: 3.938 kB / 1.241 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5908, allocations: 0 / 1.241 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5908, allocations: 0 / 1.241 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.5941, allocations: 1.152 MB / 1.242 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5941, allocations: 0 / 1.242 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.5944, allocations: 43.89 kB / 1.242 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/0.5949, allocations: 184.7 kB / 1.242 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.595, allocations: 4 kB / 1.242 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.5986, allocations: 2.183 MB / 1.245 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5986, allocations: 0 / 1.245 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.6012, allocations: 0.7123 MB / 1.245 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.6015, allocations: 172.4 kB / 1.245 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.6016, allocations: 0 / 1.245 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.6022, allocations: 71.86 kB / 1.246 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.6023, allocations: 7.984 kB / 1.246 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.6023, allocations: 15.98 kB / 1.246 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004465/0.6028, allocations: 398.8 kB / 1.246 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6028, allocations: 0 / 1.246 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006683/0.6035, allocations: 183.8 kB / 1.246 GB, free: 0.7383 MB / 0.9981 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.0004292/0.6039, allocations: 185.8 kB / 1.246 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.6055, allocations: 0.5297 MB / 1.247 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6055, allocations: 0 / 1.247 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4673/1.073, allocations: 301.6 kB / 1.247 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.074, allocations: 307.1 kB / 1.247 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/1.078, allocations: 1.246 MB / 1.249 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/1.078, allocations: 0.861 MB / 1.249 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005711/1.079, allocations: 104.8 kB / 1.25 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.079, allocations: 37.59 kB / 1.25 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.079, allocations: 1 kB / 1.25 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02657/1.106, allocations: 12.3 MB / 1.262 GB, free: 193.7 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches