Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001816/0.001816, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001941/0.001941, allocations: 197.2 kB / 16.14 MB, free: 6.629 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 72.12 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6371, allocations: 151.6 MB / 1.017 GB, free: 3 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2052/0.8423, allocations: 168.8 MB / 1.181 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007492/0.8498, allocations: 4.345 MB / 1.186 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.8508, allocations: 19.88 kB / 1.186 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.852, allocations: 302.5 kB / 1.186 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.855, allocations: 0.9336 MB / 1.187 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.8574, allocations: 0.7216 MB / 1.188 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.8597, allocations: 1.797 MB / 1.189 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.8605, allocations: 422.9 kB / 1.19 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.8619, allocations: 0.5952 MB / 1.19 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.8631, allocations: 478.5 kB / 1.191 GB, free: 0 / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-05/0.8633, allocations: 28.05 kB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.8652, allocations: 1.002 MB / 1.192 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.8654, allocations: 191.3 kB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.8659, allocations: 306.5 kB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.8677, allocations: 1.141 MB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8677, allocations: 0 / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8677, allocations: 0 / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.8677, allocations: 0 / 1.193 GB, free: 13.34 MB / 0.9512 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.001888/0.8696, allocations: 0.9544 MB / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8696, allocations: 12.03 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.8714, allocations: 263 kB / 1.195 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/0.8723, allocations: 485.4 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003217/0.8727, allocations: 88.92 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.8728, allocations: 43.94 kB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.8742, allocations: 0.6146 MB / 1.196 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.8742, allocations: 7.875 kB / 1.196 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.8743, allocations: 24 kB / 1.196 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.8743, allocations: 21 kB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.8759, allocations: 0.5581 MB / 1.196 GB, free: 10.16 MB / 0.9512 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.004692/0.8806, allocations: 2.268 MB / 1.199 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.8816, allocations: 290.3 kB / 1.199 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.8822, allocations: 176.6 kB / 1.199 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.8823, allocations: 7.984 kB / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.8823, allocations: 34.56 kB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.8823, allocations: 0 / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005568/0.8879, allocations: 1.111 MB / 1.2 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.888, allocations: 81.09 kB / 1.2 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008857/0.8889, allocations: 0.5496 MB / 1.201 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.889, allocations: 37.64 kB / 1.201 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.8893, allocations: 299.5 kB / 1.201 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.918e-05/0.8893, allocations: 43.45 kB / 1.201 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.8895, allocations: 53.61 kB / 1.201 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8897, allocations: 358.8 kB / 1.202 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.8904, allocations: 195.8 kB / 1.202 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.8911, allocations: 273.3 kB / 1.202 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.8923, allocations: 419.2 kB / 1.202 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.8923, allocations: 4 kB / 1.202 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002981/0.8953, allocations: 0.7355 MB / 1.203 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.8954, allocations: 8 kB / 1.203 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8954, allocations: 8.094 kB / 1.203 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/0.8961, allocations: 176.7 kB / 1.203 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.8965, allocations: 75.88 kB / 1.203 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.9008, allocations: 2.095 MB / 1.205 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.9017, allocations: 87.53 kB / 1.205 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.9017, allocations: 12 kB / 1.205 GB, free: 384 kB / 0.9512 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.0003743/0.9021, allocations: 189.8 kB / 1.206 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.9023, allocations: 51.42 kB / 1.206 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.9025, allocations: 48.05 kB / 1.206 GB, free: 84 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9025, allocations: 4 kB / 1.206 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.9025, allocations: 3.938 kB / 1.206 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9025, allocations: 3.984 kB / 1.206 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.906, allocations: 1.144 MB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.9061, allocations: 4 kB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.9063, allocations: 40.14 kB / 1.207 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/0.9069, allocations: 184.7 kB / 1.207 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.907, allocations: 3.984 kB / 1.207 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.9108, allocations: 2.03 MB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9108, allocations: 4.031 kB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.9137, allocations: 0.7161 MB / 1.21 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.914, allocations: 172.4 kB / 1.21 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.9142, allocations: 0 / 1.21 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.9149, allocations: 55.94 kB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.915, allocations: 15.92 kB / 1.21 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.915, allocations: 15.98 kB / 1.21 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006224/0.9157, allocations: 398.8 kB / 1.21 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9157, allocations: 0 / 1.21 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007826/0.9165, allocations: 183.8 kB / 1.211 GB, free: 10.88 MB / 0.9669 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.000524/0.917, allocations: 185.6 kB / 1.211 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.9189, allocations: 0.5338 MB / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.9189, allocations: 0 / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.9198, allocations: 302.8 kB / 1.212 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.9217, allocations: 304.1 kB / 1.212 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.9254, allocations: 1.236 MB / 1.213 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.926, allocations: 0.8585 MB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005494/0.9266, allocations: 104.5 kB / 1.214 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.9267, allocations: 35.44 kB / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of SimCode: time 1.082e-06/0.9267, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.02417/0.9509, allocations: 11.84 MB / 1.226 GB, free: 11.58 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches